mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
5313b286c6
commit
2e5d9c4c6f
4
utils.py
4
utils.py
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue