From afb0f6985341d4a6a11ee44f1ad1ac32da8e0983 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 17 Nov 2016 09:15:55 +0100 Subject: [PATCH] syntax fix --- backup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backup.py b/backup.py index 38ff08e..15f5379 100644 --- a/backup.py +++ b/backup.py @@ -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()