Update subreddit.py

This commit is contained in:
Hayden authored and GitHub committed 2022-06-03 13:35:31 -05:00
1 parent 069ad1e559
commit 46aedb6afa
1 file changed
+2 -2
+2 -2
View File
@@ -13,7 +13,7 @@ def get_subreddit_threads():
load_dotenv()
print_step("Getting subbreddit threads...")
print_step("Getting subreddit threads...")
if os.getenv("REDDIT_2FA").lower() == "yes":
print(
@@ -31,7 +31,7 @@ def get_subreddit_threads():
reddit = praw.Reddit(
client_id=os.getenv("REDDIT_CLIENT_ID"),
client_secret=os.getenv("REDDIT_CLIENT_SECRET"),
user_agent="Accessing AskReddit threads",
user_agent="Accessing subreddit threads",
username=os.getenv("REDDIT_USERNAME"),
password=passkey,
)