Print out ISP and IP information

This commit is contained in:
Matt Martz 2013-01-25 11:53:45 -06:00
parent dacd474ac7
commit 2b0d1f6446
2 changed files with 8 additions and 0 deletions

View File

@ -294,6 +294,10 @@ def speedtest():
print 'Retrieving speedtest.net server list...'
servers = closestServers(config['client'])
if not args.simple:
client = dict(config['client'].items())
print 'Testing From: %(isp)s - %(ip)s' % client
if not args.simple:
print 'Selecting best server based on ping...'
best = getBestServer(servers)

View File

@ -272,6 +272,10 @@ def speedtest():
print('Retrieving speedtest.net server list...')
servers = closestServers(config['client'])
if not args.simple:
client = dict(config['client'].items())
print('Testing From: %(isp)s - %(ip)s' % client)
if not args.simple:
print('Selecting best server based on ping...')
best = getBestServer(servers)