Call functions correctly

pull/139/head
sorawee 7 years ago committed by Matthew Butterick
parent 5408e31c2b
commit 2af21c1241

@ -36,7 +36,7 @@ lexer = ""
code = ""
py_version = sys.version_info.major
sys.stdout.write("ready\n")
sys.stdout.flush
sys.stdout.flush()
while 1:
line_raw = sys.stdin.readline()
if not line_raw:
@ -52,7 +52,7 @@ while 1:
else:
sys.stdout.write(highlight(code, lexer, formatter))
sys.stdout.write('\n__END__\n')
sys.stdout.flush
sys.stdout.flush()
lexer = ""
code = ""
elif lexer == "":

Loading…
Cancel
Save