From a0a790635a4662a0d6b6d785ace70fe3f0af7f89 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli <evilsocket@gmail.com> Date: Sat, 7 Dec 2019 15:43:10 +0200 Subject: [PATCH] fix: fuck me for trusting people's PR without checking 10000 times --- pwnagotchi/agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/agent.py b/pwnagotchi/agent.py index ed4ad0d..1cdf3bf 100644 --- a/pwnagotchi/agent.py +++ b/pwnagotchi/agent.py @@ -67,7 +67,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer): for tag in self._config['bettercap']['silence']: try: - self.run('events.ignore %s', tag, verbose_errors=False) + self.run('events.ignore %s' % tag, verbose_errors=False) except Exception as e: pass @@ -156,7 +156,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer): else: logging.debug("RECON %ds ON CHANNELS %s", recon_time, ','.join(map(str, channels))) try: - self.run('wifi.recon.channel %s', ','.join(map(str, channels))) + self.run('wifi.recon.channel %s' % ','.join(map(str, channels))) except Exception as e: logging.exception("error")