merge-requests/30/head
Bob Mottram 2024-10-23 13:45:14 +01:00
parent 5313b286c6
commit 2e5d9c4c6f
1 changed files with 2 additions and 2 deletions

View File

@ -3582,8 +3582,8 @@ def reject_post_id(base_dir: str, nickname: str, domain: str,
# if the post is in the inbox index then remove it
index_file = \
acct_dir(base_dir, nickname, domain) + '/inbox.index'
post_url = post_url.replace('/', '#')
remove_post_from_index(post_url + '.json', debug, index_file)
post_url2 = post_url.replace('/', '#') + '.json'
remove_post_from_index(post_url2, debug, index_file)
def load_translations_from_file(base_dir: str, language: str) -> ({}, str):