Update gts-federator.py

This commit is contained in:
2026-04-17 16:14:18 +02:00
parent ae5f119d34
commit 98f927a201
+2 -2
View File
@@ -64,7 +64,7 @@ class GTSFederator:
self.logger.error(f"Save error: {e}") self.logger.error(f"Save error: {e}")
def process_feeds(self): def process_feeds(self):
self.logger.info(f"📂 Starting fetch run. Database: {self.db_path}") self.logger.info(f"📂 Starting Fetch Run. Database: {self.db_path}")
if not os.path.exists(self.config["rss_urls_file"]): if not os.path.exists(self.config["rss_urls_file"]):
self.logger.error("RSS_URLS_FILE missing!") self.logger.error("RSS_URLS_FILE missing!")
@@ -124,7 +124,7 @@ class GTSFederator:
def run_forever(self): def run_forever(self):
wait_seconds = self.parse_interval(self.config["fetch_interval"]) wait_seconds = self.parse_interval(self.config["fetch_interval"])
self.logger.info(f"GTS-Federator active. Interval: {self.config['fetch_interval']}") self.logger.info(f"GTS-Federator Active. Interval: {self.config['fetch_interval']}")
while True: while True:
self.process_feeds() self.process_feeds()