syntax fix
This commit is contained in:
parent
d1df527181
commit
afb0f69853
1 changed files with 5 additions and 5 deletions
10
backup.py
10
backup.py
|
@ -59,8 +59,8 @@ scheduler.add_job(
|
||||||
days=1,
|
days=1,
|
||||||
args=(args.socket, args.outdir, args.stack, args.services),
|
args=(args.socket, args.outdir, args.stack, args.services),
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
time.sleep(20)
|
time.sleep(20)
|
||||||
except (KeyboardInterrupt, SystemExit):
|
except (KeyboardInterrupt, SystemExit):
|
||||||
scheduler.shutdown()
|
scheduler.shutdown()
|
||||||
|
|
Loading…
Reference in a new issue