mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
8c328849d4
commit
d06c69e656
|
@ -4337,6 +4337,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
remove_post_confirm_params.split('messageId=')[1]
|
||||
if '&' in remove_message_id:
|
||||
remove_message_id = remove_message_id.split('&')[0]
|
||||
print('remove_message_id: ' + remove_message_id)
|
||||
if 'pageNumber=' in remove_post_confirm_params:
|
||||
page_number_str = \
|
||||
remove_post_confirm_params.split('pageNumber=')[1]
|
||||
|
|
2
utils.py
2
utils.py
|
@ -1383,8 +1383,6 @@ def locate_post(base_dir: str, nickname: str, domain: str,
|
|||
account_dir = acct_dir(base_dir, nickname, domain) + '/'
|
||||
for box_name in boxes:
|
||||
post_filename = account_dir + box_name + '/' + post_url
|
||||
if box_name == 'outbox':
|
||||
print('locate_post filename: ' + post_filename)
|
||||
if os.path.isfile(post_filename):
|
||||
return post_filename
|
||||
|
||||
|
|
Loading…
Reference in New Issue