From ef4465a9281b9e8f9cfc6d122c44a9e10794fa54 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Tue, 19 Sep 2023 19:52:16 +0200 Subject: [PATCH] internet-connection.py: change position of the label Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/internet-connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/plugins/default/internet-connection.py b/pwnagotchi/plugins/default/internet-connection.py index c970e9c5..0f23c5ce 100644 --- a/pwnagotchi/plugins/default/internet-connection.py +++ b/pwnagotchi/plugins/default/internet-connection.py @@ -44,10 +44,10 @@ class InternetConnectionPlugin(plugins.Plugin): # Connect to the host - tells us if the host is actually reachable s = socket.create_connection((host, 80), 2) s.close() - ui.set('connection_status', 'C') + ui.set('connection_status', '✓') except: # if the command failed, it means there is no active Internet connection - ui.set('connection_status', 'D') + ui.set('connection_status', '✗') def on_unload(self, ui): with ui._lock: