From c25da23d4c9bb341fe66ee0a053011962aa43b8a Mon Sep 17 00:00:00 2001 From: santaspeen Date: Sun, 20 Feb 2022 23:58:13 +0300 Subject: [PATCH] 1.0 --- src/console/Console.py | 4 ++-- src/main.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/console/Console.py b/src/console/Console.py index f0ed929..93b92f1 100644 --- a/src/console/Console.py +++ b/src/console/Console.py @@ -221,8 +221,8 @@ class Console: else: self.log(self.__not_found % cmd) except Exception as e: - if e == KeyboardInterrupt: - raise e + # if e == KeyboardInterrupt: + # raise e ConsoleIO.write_err("\rDuring the execution of the command, an error occurred:\n\n" + str(traceback.format_exc()) + "\nType Enter to continue.") diff --git a/src/main.py b/src/main.py index 67de95f..be05a46 100644 --- a/src/main.py +++ b/src/main.py @@ -94,6 +94,6 @@ def cli_mode(): if __name__ == '__main__': cli_print() - # logger_preview() - # builtins_preview() - # cli_mode() + logger_preview() + builtins_preview() + cli_mode()