merge-requests/30/head
Bob Mottram 2024-02-09 22:52:50 +00:00
parent 07ccc9dddd
commit 399688c06e
1 changed files with 1 additions and 0 deletions

View File

@ -1927,6 +1927,7 @@ def _update_federated_blocks(session, base_dir: str,
block_api_filename = \
base_dir + '/accounts/block_api.txt'
if not new_block_api_str:
print('DEBUG: federated blocklist not loaded: ' + block_api_filename)
if os.path.isfile(block_api_filename):
try:
os.remove(block_api_filename)