From b817538199cfb37a80e200c6563e34d2dd9138a9 Mon Sep 17 00:00:00 2001 From: Gino D Date: Wed, 11 Jan 2023 18:10:18 +0100 Subject: [PATCH] Remove traceback --- src/picowatch.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/picowatch.py b/src/picowatch.py index 9a0aa9c..c68331a 100644 --- a/src/picowatch.py +++ b/src/picowatch.py @@ -31,7 +31,6 @@ import readline import tempfile import binascii import textwrap -import traceback import mpy_cross import subprocess @@ -1002,6 +1001,5 @@ while True: print(f'Picowatch: "{message}" does not matched any keywords. See "help" for more informations.') except Exception as e: print(str(e)) - traceback.print_exception(e) except (KeyboardInterrupt, EOFError): sys.exit('Picowatch Terminal disconnected!')