main
Bob Mottram 2025-11-17 18:14:32 +00:00
parent 99ced20f5f
commit a33c94fe8c
1 changed files with 5 additions and 1 deletions

View File

@ -5419,12 +5419,16 @@ def _expire_posts_for_person(http_prefix: str, nickname: str, domain: str,
continue continue
if is_dm(post_json_object): if is_dm(post_json_object):
continue continue
print('DEBUG: published_str ' + published_str + ' ' + str(max_age_days)) print('DEBUG: published_str ' + published_str + ' ' +
str(max_age_days))
debug = True debug = True
if delete_post(base_dir, http_prefix, nickname, domain, if delete_post(base_dir, http_prefix, nickname, domain,
full_filename, debug, recent_posts_cache, True): full_filename, debug, recent_posts_cache, True):
expired_post_count += 1 expired_post_count += 1
debug = False debug = False
else:
print('DEBUG: retained published_str ' + published_str + ' ' +
str(max_age_days))
return expired_post_count return expired_post_count