Skip to content

Commit e79df92

Browse files
committed
do not fail with unicode; fixes #11
1 parent e6cbebc commit e79df92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
module_name = "group{}".format(i)
99
try:
1010
module = __import__(module_name)
11-
print("group {0} says: {1}".format(i, module.tweet()))
11+
print("group {0} says: {1}".format(i, module.tweet().encode('utf-8')))
1212
except ImportError:
1313
pass

0 commit comments

Comments
 (0)