Explorar el Código

Bugfix in frame stringification

Taddeus Kroes hace 11 años
padre
commit
99d2cfc06c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      frame.py

+ 1 - 1
frame.py

@@ -23,7 +23,7 @@ CLOSE_UNABLE = 1011
 
 
 def printstr(s):
-    return ''.join(c if c in printable else '.' for c in s)
+    return ''.join(c if c in printable else '.' for c in str(s))
 
 
 class Frame(object):