diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-11 23:11:05 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-11 23:11:05 -0800 |
commit | cf69456c3db9ea0f76443f7fdc187ddc2e276e6d (patch) | |
tree | b266048c91c541c0ae21870618d7e3753be4d4dd /wrapper.py | |
parent | 7d8e43ca4b389ee03e4afaf87f2aa1bb4474cffc (diff) |
wrapper.py: made executable, fixed final newline.
Diffstat (limited to 'wrapper.py')
-rwxr-xr-x[-rw-r--r--] | wrapper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wrapper.py b/wrapper.py index f20aac6..48da34c 100644..100755 --- a/wrapper.py +++ b/wrapper.py @@ -20,4 +20,4 @@ markdown.argtypes = [c_char_p] def md2html(text): return markdown(text, len(text)) -print md2html(sys.stdin.read()) +sys.stdout.write(md2html(sys.stdin.read())) |