Revert "respect --quit when JSON exception is thrown"
This reverts commit 33324cde26.
This commit is contained in:
@@ -294,8 +294,7 @@ def main():
|
|||||||
except InvalidJSONFile as exception:
|
except InvalidJSONFile as exception:
|
||||||
VanillaPrint(str(exception.__class__.__name__), ">>", str(exception))
|
VanillaPrint(str(exception.__class__.__name__), ">>", str(exception))
|
||||||
VanillaPrint("Resolve it or remove it to proceed")
|
VanillaPrint("Resolve it or remove it to proceed")
|
||||||
if not GLOBAL.arguments.quit:
|
input("\nPress enter to quit")
|
||||||
input("\nPress enter to quit\n")
|
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if arguments.set_filename:
|
if arguments.set_filename:
|
||||||
|
|||||||
Reference in New Issue
Block a user