Merge pull request #722 from dadav/fix/no_comment

no comment
This commit is contained in:
evilsocket 2019-12-16 11:59:12 +02:00 committed by GitHub
commit 3e8b6eafbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: