Skip to content

Commit a9a6fd4

Browse files
committed
Small changes/fixes for debugging
1 parent 8c97301 commit a9a6fd4

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

pwnagotchi/plugins/default/gps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class GPS(plugins.Plugin):
2020
def __init__(self):
2121
self.running = False
2222
self.coordinates = None
23+
self.options = dict()
2324

2425
def on_loaded(self):
2526
logging.info(f"gps plugin loaded for {self.options['device']}")

pwnagotchi/plugins/default/net-pos.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ def on_handshake(self, agent, filename, access_point, client_station):
117117
except OSError as os_e:
118118
logging.error("NET-POS: %s", os_e)
119119

120-
121120
def _get_netpos(self, agent):
122121
aps = agent.get_access_points()
123122
netpos = dict()

0 commit comments

Comments
 (0)