From 970b6922b756e5faf8485d5d09eb8f9654a9d942 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Wed, 16 Oct 2019 17:20:48 +0200 Subject: [PATCH] fix: if -> elif typo (fixes #310) --- pwnagotchi/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/utils.py b/pwnagotchi/utils.py index 20afd1b0..127761cb 100644 --- a/pwnagotchi/utils.py +++ b/pwnagotchi/utils.py @@ -63,7 +63,7 @@ def load_config(args): elif config['ui']['display']['type'] in ('papirus', 'papi'): config['ui']['display']['type'] = 'papirus' - if config['ui']['display']['type'] in ('oledhat'): + elif config['ui']['display']['type'] in ('oledhat'): config['ui']['display']['type'] = 'oledhat' elif config['ui']['display']['type'] in ('ws_1', 'ws1', 'waveshare_1', 'waveshare1'):