Update subreddit.py

pull/171/head
Hayden 3 years ago committed by GitHub
parent 069ad1e559
commit 46aedb6afa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
)

Loading…
Cancel
Save