summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-11 23:11:05 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-11 23:11:05 -0800
commitcf69456c3db9ea0f76443f7fdc187ddc2e276e6d (patch)
treeb266048c91c541c0ae21870618d7e3753be4d4dd
parent7d8e43ca4b389ee03e4afaf87f2aa1bb4474cffc (diff)
wrapper.py: made executable, fixed final newline.
-rwxr-xr-x[-rw-r--r--]wrapper.py2
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()))