Small changes/fixes for debugging

This commit is contained in:
Jeroen Oudshoorn
2024-01-28 21:46:22 +01:00
parent 8c97301992
commit a9a6fd424b
2 changed files with 1 additions and 1 deletions

View File

@ -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']}")

View File

@ -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()