From d06c69e656cb2dd9283a83245b2e56508e49160a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 Mar 2022 15:23:15 +0000 Subject: [PATCH] Debug --- daemon.py | 1 + utils.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 7d032b70a..2f18fac7a 100644 --- a/daemon.py +++ b/daemon.py @@ -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] diff --git a/utils.py b/utils.py index f592d05ac..7f46917b8 100644 --- a/utils.py +++ b/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