This commit is contained in:
brent s 2017-10-08 03:57:59 -04:00
parent a31a528e60
commit 54751f9753
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ def syncDB(args):
os.path.join(args['destdir'], '.'),
args['rsync']]
if args['throttle'] > 0.0:
cmd.insert(-1, '--bwlimit {0}'.format(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: