mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-07 06:51:35 +01:00
fix: skip empty results in dispatch
This commit is contained in:
@@ -141,6 +141,9 @@ def save_in_dispatch_queue(persons, message):
|
|||||||
|
|
||||||
for p in persons:
|
for p in persons:
|
||||||
|
|
||||||
|
if not p:
|
||||||
|
continue
|
||||||
|
|
||||||
# this secret will be needed to confirm the message as dispatched #
|
# this secret will be needed to confirm the message as dispatched #
|
||||||
dispatch_secret = secrets.token_urlsafe(32)
|
dispatch_secret = secrets.token_urlsafe(32)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user