瀏覽代碼

Bugfix in frame stringification

Taddeus Kroes 11 年之前
父節點
當前提交
99d2cfc06c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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):