From 8179b845b7b9776105771dd75e21766cd0279e5b Mon Sep 17 00:00:00 2001 From: Ali Parlakci Date: Tue, 6 Apr 2021 17:41:43 +0300 Subject: [PATCH] Revert "respect --quit when JSON exception is thrown" This reverts commit 33324cde26d420408021796823f42b555e1027a2. --- script.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script.py b/script.py index e5bec96..678010e 100644 --- a/script.py +++ b/script.py @@ -294,8 +294,7 @@ def main(): except InvalidJSONFile as exception: VanillaPrint(str(exception.__class__.__name__), ">>", str(exception)) VanillaPrint("Resolve it or remove it to proceed") - if not GLOBAL.arguments.quit: - input("\nPress enter to quit\n") + input("\nPress enter to quit") sys.exit() if arguments.set_filename: