messages for upload/download reversed

This commit is contained in:
Matt Martz 2014-03-08 18:02:46 -06:00
parent feb7f6bff1
commit 71b456594f
1 changed files with 2 additions and 2 deletions

View File

@ -946,13 +946,13 @@ def shell():
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)
printer('Testing upload speed', quiet, end='') printer('Testing download speed', quiet, end='')
speedtest.download(callback=callback) speedtest.download(callback=callback)
printer('Download: %0.2f M%s/s' % printer('Download: %0.2f M%s/s' %
((results.download / 1000 / 1000) * args.units[1], args.units[0]), ((results.download / 1000 / 1000) * args.units[1], args.units[0]),
quiet) quiet)
printer('Testing download speed', quiet, end='') printer('Testing upload speed', quiet, end='')
speedtest.upload(callback=callback) speedtest.upload(callback=callback)
printer('Upload: %0.2f M%s/s' % printer('Upload: %0.2f M%s/s' %
((results.upload / 1000 / 1000) * args.units[1], args.units[0]), ((results.upload / 1000 / 1000) * args.units[1], args.units[0]),