syntax fix

This commit is contained in:
chris 2016-11-17 09:15:55 +01:00
parent d1df527181
commit afb0f69853

View file

@ -59,8 +59,8 @@ scheduler.add_job(
days=1,
args=(args.socket, args.outdir, args.stack, args.services),
)
try:
while True:
time.sleep(20)
except (KeyboardInterrupt, SystemExit):
scheduler.shutdown()
try:
while True:
time.sleep(20)
except (KeyboardInterrupt, SystemExit):
scheduler.shutdown()