From a6ab0f57a1a78cfd856aad5e0ffb2278af22ee91 Mon Sep 17 00:00:00 2001 From: ekultek Date: Sat, 25 Nov 2017 20:02:27 -0600 Subject: [PATCH] color change for when you exit the program by hitting CNTRL-C --- zeus.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zeus.py b/zeus.py index 38c5143..03d6f6d 100755 --- a/zeus.py +++ b/zeus.py @@ -533,9 +533,10 @@ if __name__ == "__main__": )) request_issue_creation() except KeyboardInterrupt: - logger.error(set_color( - "user aborted process...", level=40 + logger.fatal(set_color( + "user aborted process...", level=50 )) + shutdown() except UnboundLocalError: logger.warning(set_color( "do not interrupt the browser when selenium is running, "