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'
|
config['ui']['display']['type'] = 'weact2in9'
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print("unsupported display type %s" % config['ui']['display']['type'])
|
logging.debug("using dummy display, as your display type is unsupported")
|
||||||
sys.exit(1)
|
config['ui']['display']['type'] = 'dummydisplay'
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user