diff options
-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())) |