mirror of https://gitlab.com/bashrc2/epicyon
json extension
parent
ca995cd50d
commit
90471ccb26
3
posts.py
3
posts.py
|
@ -4885,7 +4885,8 @@ def _create_box_items(base_dir: str,
|
|||
print('REJECT: rejected post in timeline ' +
|
||||
boxname + ' ' + post_url + ' ' +
|
||||
full_post_filename)
|
||||
remove_post_from_index(post_url, False, index_filename)
|
||||
remove_post_from_index(post_url + '.json', False,
|
||||
index_filename)
|
||||
continue
|
||||
|
||||
if _add_post_to_timeline(full_post_filename, boxname,
|
||||
|
|
2
utils.py
2
utils.py
|
@ -3582,7 +3582,7 @@ 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'
|
||||
remove_post_from_index(post_url, debug, index_file)
|
||||
remove_post_from_index(post_url + '.json', debug, index_file)
|
||||
|
||||
|
||||
def load_translations_from_file(base_dir: str, language: str) -> ({}, str):
|
||||
|
|
Loading…
Reference in New Issue