diff --git a/pwnagotchi/plugins/default/net-pos.py b/pwnagotchi/plugins/default/net-pos.py index c038fd8a..5d06006b 100644 --- a/pwnagotchi/plugins/default/net-pos.py +++ b/pwnagotchi/plugins/default/net-pos.py @@ -24,6 +24,7 @@ class NetPos(plugins.Plugin): self.skip = list() self.ready = False self.lock = threading.Lock() + self.options = dict() def on_loaded(self): if 'api_key' not in self.options or ('api_key' in self.options and not self.options['api_key']): @@ -116,6 +117,7 @@ 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()