Tidy up for flakes8

This commit is contained in:
David Forbes 2016-07-13 00:03:48 +01:00
parent 0e45b991f0
commit d9142d2b4e
1 changed files with 8 additions and 8 deletions

View File

@ -788,12 +788,12 @@ def speedtest():
(scheme, resultid[0]))
if args.log:
log_output = ['{:%Y-%b-%d %H:%M:%S}'.format(datetime.datetime.now()),
'%0.2f' % (dlspeed / 1000000 * 8),
'%0.2f' % (ulspeed / 1000000 * 8),
config['client']['isp'],
config['client']['ip'],
'%(sponsor)s,(%(name)s),%(d)0.2f km,%(latency)s ms' % best
log_output = ['{:%Y-%b-%d %H:%M:%S}'.format(datetime.datetime.now()),
'%0.2f' % (dlspeed / 1000000 * 8),
'%0.2f' % (ulspeed / 1000000 * 8),
config['client']['isp'],
config['client']['ip'],
'%(sponsor)s,(%(name)s),%(d)0.2f km,%(latency)s ms' % best
]
if args.share: