From a9a6fd424bbca6416724ff83b7d01da923d4e98b Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Sun, 28 Jan 2024 21:46:22 +0100 Subject: [PATCH] Small changes/fixes for debugging --- pwnagotchi/plugins/default/gps.py | 1 + pwnagotchi/plugins/default/net-pos.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/gps.py b/pwnagotchi/plugins/default/gps.py index bf83fa07..a351406b 100644 --- a/pwnagotchi/plugins/default/gps.py +++ b/pwnagotchi/plugins/default/gps.py @@ -20,6 +20,7 @@ class GPS(plugins.Plugin): def __init__(self): self.running = False self.coordinates = None + self.options = dict() def on_loaded(self): logging.info(f"gps plugin loaded for {self.options['device']}") diff --git a/pwnagotchi/plugins/default/net-pos.py b/pwnagotchi/plugins/default/net-pos.py index 5d06006b..3f226204 100644 --- a/pwnagotchi/plugins/default/net-pos.py +++ b/pwnagotchi/plugins/default/net-pos.py @@ -117,7 +117,6 @@ class NetPos(plugins.Plugin): except OSError as os_e: logging.error("NET-POS: %s", os_e) - def _get_netpos(self, agent): aps = agent.get_access_points() netpos = dict()