Commits

Anonymous committed e220829

Properly handle outputting newline (and other control characters.)

  • Participants
  • Parent commits 1fb5c49

Comments (0)

Files changed (1)

File src/zowie.py

         pass
 
     def output(code):
-        if code > 126:
-            print "&#%d;" % code
-        else:
-            print chr(code)
+        print "&#%d;" % code
 else:
     def output(code):
         try: