main
Bob Mottram 2022-03-12 15:23:15 +00:00
parent 8c328849d4
commit d06c69e656
2 changed files with 1 additions and 2 deletions

View File

@ -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]

View File

@ -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