This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-07-20 19:34:06 +00:00
parent a1e98cea2d
commit 5dd7c9598e

View file

@ -31,7 +31,7 @@ def get_next_byte(s):
try: try:
c = s.getkey() c = s.getkey()
except: except:
return "KEY_RESIZE" return (None, "KEY_RESIZE")
if len(c) > 4: if len(c) > 4:
return (None, c) return (None, c)
return (ord(c), c) return (ord(c), c)