From b753a52478d81053d9663748f086e9827f6b4873 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 22 Nov 2022 11:02:46 +0000 Subject: [PATCH] Debug --- posts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/posts.py b/posts.py index b4f3a1040..bce2156f9 100644 --- a/posts.py +++ b/posts.py @@ -4293,9 +4293,11 @@ def _expire_announce_cache_for_person(base_dir: str, cache_filename = cache_filename.name # Time of file creation full_filename = os.path.join(cache_dir, cache_filename) + print(full_filename) if not os.path.isfile(full_filename): continue last_modified = file_last_modified(full_filename) + print('last modified: ' + str(last_modified)) # get time difference if not valid_post_date(last_modified, max_age_days, debug): try: