diff --git a/modules/chankeep.py b/modules/chankeep.py index dfd334d..a1d13cd 100644 --- a/modules/chankeep.py +++ b/modules/chankeep.py @@ -136,6 +136,8 @@ def keepChannels(net, listinfo, mean, sigrelay, relay): def joinSingle(net, channel): eca = emptyChanAllocate(net, [channel], None, []) + if not eca: + return False if not len(eca.keys()) == 1: return False num = list(eca.keys())[0]