Printing the ID of the server, issue #487
This commit is contained in:
parent
72ed585c6f
commit
c51f9c081c
|
@ -1833,6 +1833,8 @@ def shell():
|
||||||
|
|
||||||
results = speedtest.results
|
results = speedtest.results
|
||||||
|
|
||||||
|
printer('Server ID: %s' % results.dict()['server']['id'], quiet)
|
||||||
|
|
||||||
printer('Hosted by %(sponsor)s (%(name)s) [%(d)0.2f km]: '
|
printer('Hosted by %(sponsor)s (%(name)s) [%(d)0.2f km]: '
|
||||||
'%(latency)s ms' % results.server, quiet)
|
'%(latency)s ms' % results.server, quiet)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue