Jelajahi Sumber

Bugfix in frame stringification

Taddeus Kroes 11 tahun lalu
induk
melakukan
99d2cfc06c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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):