Skip to content

Commit 8520474

Browse files
author
leo
committed
修复发送非字符串内容时出错的BUG
1 parent f9dbdce commit 8520474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

litefs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ def _finish(self, content):
661661
rw.write(content)
662662
else:
663663
for s in content:
664-
if isinstance(basestring):
664+
if isinstance(s, basestring):
665665
rw.write(s)
666666
else:
667667
rw.write('%r' % s)

0 commit comments

Comments
 (0)