From aa4c352bbdfb977fd135ecc9c29ef2487ba7b801 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Sat, 28 Dec 2024 20:20:23 +0100 Subject: [PATCH] Remove ': ' from display Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/pisugarx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/plugins/default/pisugarx.py b/pwnagotchi/plugins/default/pisugarx.py index f50aba81..5ef4109b 100644 --- a/pwnagotchi/plugins/default/pisugarx.py +++ b/pwnagotchi/plugins/default/pisugarx.py @@ -250,10 +250,10 @@ class PiSugar(plugins.Plugin): if battery_plugged: # If plugged in, display "CHG" - ui._state._state['bat'].label = "CHG: " + ui._state._state['bat'].label = "CHG" else: # Otherwise, keep it as "BAT" - ui._state._state['bat'].label = "BAT: " + ui._state._state['bat'].label = "BAT" # Handle rotation or default display logic if self.rotation_enabled: