main
Bob Mottram 2024-10-07 22:39:05 +01:00
parent 1c162f7f88
commit bd80115869
1 changed files with 2 additions and 0 deletions

View File

@ -3304,6 +3304,8 @@ def update_announce_collection(recent_posts_cache: {},
post_json_object)
if cached_post_filename:
if os.path.isfile(cached_post_filename):
print('update_announce_collection: removing ' +
cached_post_filename)
try:
os.remove(cached_post_filename)
except OSError: