diff --git a/interface.py b/interface.py index e89333b..74598a6 100755 --- a/interface.py +++ b/interface.py @@ -141,6 +141,9 @@ def save_in_dispatch_queue(persons, message): for p in persons: + if not p: + continue + # this secret will be needed to confirm the message as dispatched # dispatch_secret = secrets.token_urlsafe(32)