From 71b456594ff3091ba4f32c3348bfcbfb8d5889e1 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Sat, 8 Mar 2014 18:02:46 -0600 Subject: [PATCH] messages for upload/download reversed --- speedtest_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/speedtest_cli.py b/speedtest_cli.py index a8e0070..0ec84e3 100755 --- a/speedtest_cli.py +++ b/speedtest_cli.py @@ -946,13 +946,13 @@ def shell(): printer('Hosted by %(sponsor)s (%(name)s) [%(d)0.2f km]: ' '%(latency)s ms' % results.server, quiet) - printer('Testing upload speed', quiet, end='') + printer('Testing download speed', quiet, end='') speedtest.download(callback=callback) printer('Download: %0.2f M%s/s' % ((results.download / 1000 / 1000) * args.units[1], args.units[0]), quiet) - printer('Testing download speed', quiet, end='') + printer('Testing upload speed', quiet, end='') speedtest.upload(callback=callback) printer('Upload: %0.2f M%s/s' % ((results.upload / 1000 / 1000) * args.units[1], args.units[0]),