|
|
|
@ -76,13 +76,6 @@ def get_subreddit_threads(POST_ID: str):
|
|
|
|
|
if POST_ID: # would only be called if there are multiple queued posts
|
|
|
|
|
submission = reddit.submission(id=POST_ID)
|
|
|
|
|
|
|
|
|
|
# elif (
|
|
|
|
|
# settings.config["reddit"]["thread"]["post_id"]
|
|
|
|
|
# and len(str(settings.config["reddit"]["thread"]["post_id"]).split("+")) == 1
|
|
|
|
|
# ):
|
|
|
|
|
# submission = reddit.submission(
|
|
|
|
|
# id=settings.config["reddit"]["thread"]["post_id"]
|
|
|
|
|
# )
|
|
|
|
|
else:
|
|
|
|
|
threads = subreddit.hot(limit=25)
|
|
|
|
|
submission = get_subreddit_undone(threads, subreddit)
|
|
|
|
|