From 4525d94faf9f9f36e8a4fb6161b55175fb164d9e Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 5 Jan 2024 22:08:25 +0100 Subject: [PATCH] Update view.py --- pwnagotchi/ui/view.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pwnagotchi/ui/view.py b/pwnagotchi/ui/view.py index 725f8f6c..aa24ee03 100644 --- a/pwnagotchi/ui/view.py +++ b/pwnagotchi/ui/view.py @@ -24,18 +24,10 @@ ROOT = None class View(object): def __init__(self, config, impl, state=None): global ROOT - global WHITE - global BLACK # setup faces from the configuration in case the user customized them faces.load_from_config(config['ui']['faces']) - self._invert = config['ui']['invert'] - - if self._invert: - WHITE = 0x00 - BLACK = 0xFF - self._agent = None self._render_cbs = [] self._config = config