Remove bytes string characters ('b' and quotation marks) from 'Hosted by' output due to unneeded UTF-8 encoding/decoding (Fix #192)

This commit is contained in:
maride 2015-12-07 11:52:26 +01:00
parent 7b09d8759f
commit 81fa7c59cf
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ def speedtest():
if not args.simple:
print_(('Hosted by %(sponsor)s (%(name)s) [%(d)0.2f km]: '
'%(latency)s ms' % best).encode('utf-8', 'ignore'))
'%(latency)s ms' % best))
else:
print_('Ping: %(latency)s ms' % best)