From e8f23d654c6cf9e7e480cb33719ccb3c8db87262 Mon Sep 17 00:00:00 2001 From: keganpowers34 <42286354+keganpowers34@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:04:39 -0600 Subject: [PATCH] Update waveshare3in7.py fix return outside of function error Signed-off-by: keganpowers34 <42286354+keganpowers34@users.noreply.github.com> --- pwnagotchi/ui/hw/waveshare3in7.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/ui/hw/waveshare3in7.py b/pwnagotchi/ui/hw/waveshare3in7.py index 91b4c104..77256e32 100644 --- a/pwnagotchi/ui/hw/waveshare3in7.py +++ b/pwnagotchi/ui/hw/waveshare3in7.py @@ -28,7 +28,7 @@ class Waveshare3in7(DisplayImpl): 'font': fonts.status_font(fonts.Medium), 'max': 21 } - return self._layout + return self._layout def initialize(self): logging.info("initializing waveshare 3.7 inch lcd display")