From abc87057bf86ed45574f2e01f458c342cfa8f201 Mon Sep 17 00:00:00 2001 From: marcsello Date: Sun, 29 Mar 2020 19:31:43 +0200 Subject: [PATCH] Added signal handling --- app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 7304cf4..1398d1a 100644 --- a/app.py +++ b/app.py @@ -62,4 +62,7 @@ def main(): if __name__ == "__main__": - main() + try: + main() + except KeyboardInterrupt: + pass