diff --git a/pwnagotchi/ui/view.py b/pwnagotchi/ui/view.py index e9424f8e..725f8f6c 100644 --- a/pwnagotchi/ui/view.py +++ b/pwnagotchi/ui/view.py @@ -24,6 +24,8 @@ 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']) @@ -31,8 +33,6 @@ class View(object): self._invert = config['ui']['invert'] if self._invert: - global WHITE - global BLACK WHITE = 0x00 BLACK = 0xFF