Less indentation

main
Bob Mottram 2025-06-02 13:20:39 +01:00
parent dcc112637c
commit 5df56efc49
1 changed files with 19 additions and 17 deletions

View File

@ -2982,7 +2982,9 @@ def _remove_send_block(base_dir: str, nickname: str, domain: str,
if not os.path.isfile(send_block_filename):
return
if text_in_file(inbox_url, send_block_filename, False):
if not text_in_file(inbox_url, send_block_filename, False):
return
send_blocks_str = ''
try:
with open(send_block_filename, 'r',