From c4c4d6c417a0d465d3860969ebd226da0643639e Mon Sep 17 00:00:00 2001 From: jayofelony Date: Fri, 22 Mar 2024 19:09:27 +0100 Subject: [PATCH] in case you use an unsupported display it will default to dummy display, displaying nothing Signed-off-by: jayofelony --- pwnagotchi/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/utils.py b/pwnagotchi/utils.py index 32b6c6c9..8bbdf0aa 100644 --- a/pwnagotchi/utils.py +++ b/pwnagotchi/utils.py @@ -456,8 +456,8 @@ def load_config(args): config['ui']['display']['type'] = 'weact2in9' else: - print("unsupported display type %s" % config['ui']['display']['type']) - sys.exit(1) + logging.debug("using dummy display, as your display type is unsupported") + config['ui']['display']['type'] = 'dummydisplay' return config