fix: fuck me for trusting people's PR without checking 10000 times

This commit is contained in:
Simone Margaritelli 2019-12-07 15:43:10 +02:00
parent 9d17be959d
commit a0a790635a

View File

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