From 85d0822a0360542c9ef9394d470330be49d9fa7a Mon Sep 17 00:00:00 2001 From: Fierelier Date: Wed, 28 Nov 2018 02:16:51 +0100 Subject: [PATCH] Added exit command to console mode --- UniversalModloader.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UniversalModloader.py b/UniversalModloader.py index ef9a042..d548019 100644 --- a/UniversalModloader.py +++ b/UniversalModloader.py @@ -310,6 +310,10 @@ def console(): while True: cmd = input(os.getcwd()+ ">") + + if cmd == "exit": + return + if cmd.startswith("pyc "): try: exec(cmd[4:])