Removes errors with servers which havenon ASCII characters in sponsors name

This commit is contained in:
Neubda 2016-08-03 09:55:20 +02:00 committed by GitHub
parent 7b09d8759f
commit 572205a824
1 changed files with 2 additions and 1 deletions

View File

@ -641,7 +641,8 @@ def speedtest():
servers = closestServers(config['client'])
if not args.simple:
print_('Testing from %(isp)s (%(ip)s)...' % config['client'])
print_(('Testing from %(isp)s (%(ip)s)...'
% config['client'].encode('utf-8', 'ignore')))
if args.server:
try: