fixed looping over same postid

pull/1288/head
electro199 3 years ago
parent 2043827589
commit 489effa055

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

Loading…
Cancel
Save