From 94aee5e001dee812656c5ed5860c4ace184497d2 Mon Sep 17 00:00:00 2001 From: Amit Serper Date: Tue, 5 Dec 2023 15:21:42 -0500 Subject: [PATCH] File is now saved persistenetly --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index a1f7bdc..3ea7731 100644 --- a/main.py +++ b/main.py @@ -11,8 +11,8 @@ MASTODON_INSTANCE_URL = os.environ['MASTODON_INSTANCE_URL'] # RSS feed URL RSS_FEED_URL = os.environ['RSS_FEED_URL'] -# File to store the processed entry URLs -PROCESSED_ENTRIES_FILE = 'processed_entries.txt' +# File to store the processed entry URLs. Note that /state directory is for the docker setup +PROCESSED_ENTRIES_FILE = '/state/processed_entries.txt' # Time delay between RSS checks (in seconds) CHECK_INTERVAL = os.environ['CHECK_INTERVAL'] # Check interval in seconds