Not lists

main
Bob Mottram 2025-04-12 21:17:39 +01:00
parent fccaaca07f
commit a895212a04
1 changed files with 2 additions and 2 deletions

View File

@ -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')