Skip to content

Commit

Permalink
bugfixing
Browse files Browse the repository at this point in the history
  • Loading branch information
MuslemRahimi committed Dec 7, 2024
1 parent 4cb9d38 commit 1eaef27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/cron_reddit_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1eaef27

Please sign in to comment.