From 1eaef27c99c2f1aaf341236061abb1f3cd173c52 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Sat, 7 Dec 2024 21:57:52 +0100 Subject: [PATCH] bugfixing --- app/cron_reddit_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/cron_reddit_bot.py b/app/cron_reddit_bot.py index a853d0e..718adda 100644 --- a/app/cron_reddit_bot.py +++ b/app/cron_reddit_bot.py @@ -404,8 +404,8 @@ def post_to_reddit(): for post in post_configs: formatted_text = create_post(post['data_type'], post['info_text']) - title = config["title"] - flair_id = config["flair_id"] + title = post["title"] + flair_id = post["flair_id"] # Submit the post post = subreddit.submit(