diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-03-16 16:34:04 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-03-16 16:34:04 +0300 |
commit | d554e1c1c9ff6ae5b828dc4281208bb705dd350b (patch) | |
tree | 478e92dd0e1f2e15ef72f8c60f00672d10b397e2 | |
parent | 35d86a39e2a23fee7d24a2b759c31c8712eb8ab7 (diff) |
fix
-rwxr-xr-x | telegram_notify.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/telegram_notify.py b/telegram_notify.py index da05994..a834b34 100755 --- a/telegram_notify.py +++ b/telegram_notify.py @@ -52,6 +52,10 @@ if __name__ == '__main__': parse_mode='HTML', token=args.token, chat_id=args.chat_id) + + except KeyboardInterrupt: + pass + except: telegram_notify(text='error: '+escape(traceback.format_exc()), parse_mode='HTML', |