Pushers should only try & look for rejected devices in something that's a list or tuple.
parent
5f84ba8ea1
commit
efac71d6ca
|
@ -173,7 +173,7 @@ class Pusher(object):
|
|||
processed = True
|
||||
else:
|
||||
rejected = yield self.dispatch_push(single_event, tweaks)
|
||||
if not rejected is False:
|
||||
if isinstance(rejected, list) or isinstance(rejected, tuple):
|
||||
processed = True
|
||||
for pk in rejected:
|
||||
if pk != self.pushkey:
|
||||
|
|
Loading…
Reference in New Issue