This commit is contained in:
Paul J Warner 2015-11-22 21:57:29 +00:00
commit 64d51b626c
1 changed files with 8 additions and 1 deletions

View File

@ -784,6 +784,13 @@ def speedtest():
print_('Share results: %s://www.speedtest.net/result/%s.png' %
(scheme, resultid[0]))
speeds = {
'DL': (dlspeed / 1000 / 1000) * args.units[1],
'UL': (ulspeed / 1000 / 1000) * args.units[1]
}
return speeds
def main():
try: