update cron job

This commit is contained in:
MuslemRahimi 2024-07-27 16:24:25 +02:00
parent c9d6018f69
commit a7a5dfa24e

View File

@ -74,7 +74,6 @@ for submission in subreddit.new(limit=1000):
existing_posts[post_id] = extracted_post
data_changed = True
time.sleep(1) # Add a 1-second delay between processing submissions
if data_changed:
# Convert the dictionary back to a list and sort by created_utc