From 00101ccd07e159fb87075b14a7e8f9d4d2ae771c Mon Sep 17 00:00:00 2001 From: dadav <33197631+dadav@users.noreply.github.com> Date: Fri, 13 Dec 2019 19:29:44 +0100 Subject: [PATCH] no comment --- pwnagotchi/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/agent.py b/pwnagotchi/agent.py index 7dbf41eb..b5e2d2f5 100644 --- a/pwnagotchi/agent.py +++ b/pwnagotchi/agent.py @@ -212,7 +212,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer): ch = ap['channel'] # if we're sticking to a channel, skip anything # which is not on that channel - if not channels or (channels and ch not in channels): + if channels and ch not in channels: continue if ch not in grouped: