Call functions correctly #134

Merged
sorawee merged 1 commits from patch-1 into master 8 years ago

@ -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