This commit is contained in:
brent s 2017-10-08 03:54:54 -04:00
parent ef73b92929
commit a31a528e60

View File

@ -204,7 +204,7 @@ def syncDB(args):
os.path.join(args['destdir'], '.'),
args['rsync']]
if args['throttle'] > 0.0:
cmd.insert(-1, str(args['throttle']))
cmd.insert(-1, '--bwlimit {0}'.format(str(args['throttle'])))
with open(args['logfile'], 'a') as f:
f.write('===== {0} Rsyncing to mirror =====\n'.format(str(datetime.datetime.utcnow())))
with open(args['logfile'], 'a') as f: