From d15f8c18b51c1c794f45800aa6ccbb5da1836e0a Mon Sep 17 00:00:00 2001 From: Casey Diemel Date: Sun, 13 Oct 2019 17:52:41 -0400 Subject: [PATCH] updated function call Signed-off-by: Casey Diemel --- pwnagotchi/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/agent.py b/pwnagotchi/agent.py index f8c8ff9..497c91e 100644 --- a/pwnagotchi/agent.py +++ b/pwnagotchi/agent.py @@ -190,7 +190,7 @@ class Agent(Client, AsyncAdvertiser, AsyncTrainer): aps = [] try: s = self.session() - plugins.on("unfiltered_ap_list", s['wifi']['aps']) + plugins.on("unfiltered_ap_list", self, s['wifi']['aps']) for ap in s['wifi']['aps']: if ap['hostname'] not in whitelist: if self._filter_included(ap):