This commit is contained in:
Steven Huang 2017-04-29 05:33:18 +00:00 committed by GitHub
commit 38efcdd935
1 changed files with 1 additions and 1 deletions

View File

@ -1411,7 +1411,7 @@ def shell():
line = ('%(id)5s) %(sponsor)s (%(name)s, %(country)s) '
'[%(d)0.2f km]' % server)
try:
print_(line)
print_(line.encode('utf-8'))
except IOError:
e = get_exception()
if e.errno != errno.EPIPE: