Printing the ID of the server, issue #487

This commit is contained in:
joag 2018-07-05 19:03:05 -05:00
parent 72ed585c6f
commit c51f9c081c
1 changed files with 2 additions and 0 deletions

View File

@ -1833,6 +1833,8 @@ def shell():
results = speedtest.results
printer('Server ID: %s' % results.dict()['server']['id'], quiet)
printer('Hosted by %(sponsor)s (%(name)s) [%(d)0.2f km]: '
'%(latency)s ms' % results.server, quiet)