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:
parent
7b09d8759f
commit
81fa7c59cf
|
@ -704,7 +704,7 @@ def speedtest():
|
||||||
|
|
||||||
if not args.simple:
|
if not args.simple:
|
||||||
print_(('Hosted by %(sponsor)s (%(name)s) [%(d)0.2f km]: '
|
print_(('Hosted by %(sponsor)s (%(name)s) [%(d)0.2f km]: '
|
||||||
'%(latency)s ms' % best).encode('utf-8', 'ignore'))
|
'%(latency)s ms' % best))
|
||||||
else:
|
else:
|
||||||
print_('Ping: %(latency)s ms' % best)
|
print_('Ping: %(latency)s ms' % best)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue