From cf69456c3db9ea0f76443f7fdc187ddc2e276e6d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 11 Nov 2014 23:11:05 -0800 Subject: wrapper.py: made executable, fixed final newline. --- wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 wrapper.py diff --git a/wrapper.py b/wrapper.py old mode 100644 new mode 100755 index f20aac6..48da34c --- 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())) -- cgit v1.2.3