From a895212a04b5a53af0375e0f305b03b85ceac909 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 Apr 2025 21:17:39 +0100 Subject: [PATCH] Not lists --- inbox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inbox.py b/inbox.py index 132cf44e3..e63964068 100644 --- a/inbox.py +++ b/inbox.py @@ -3755,8 +3755,8 @@ def run_inbox_queue(server, _inbox_post_recipients(base_dir, queue_json['post'], domain, port, debug, onion_domain, i2p_domain) - if not recipients_dict.items() and \ - not recipients_dict_followers.items(): + if len(recipients_dict.items()) == 0 and \ + len(recipients_dict_followers.items()) == 0: if debug: print('Queue: no recipients were resolved ' + 'for post arriving in inbox')