mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
in case you use an unsupported display it will default to dummy display, displaying nothing
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user