Przeglądaj źródła

Bugfix in frame stringification

Taddeus Kroes 11 lat temu
rodzic
commit
99d2cfc06c
1 zmienionych plików z 1 dodań i 1 usunięć
  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):