chore: remove comment reference to .env

This commit is contained in:
Callum Leslie committed 2022-08-09 20:05:06 +01:00
1 parent 71c317da23
commit 968028c541
1 file changed
+1 -3
+1 -3
View File
@@ -66,9 +66,7 @@ def get_subreddit_threads(POST_ID: str):
subreddit_choice = sub
if str(subreddit_choice).casefold().startswith("r/"): # removes the r/ from the input
subreddit_choice = subreddit_choice[2:]
subreddit = reddit.subreddit(
subreddit_choice
) # Allows you to specify in .env. Done for automation purposes.
subreddit = reddit.subreddit(subreddit_choice)
if POST_ID: # would only be called if there are multiple queued posts
submission = reddit.submission(id=POST_ID)