fixed looping over same postid

This commit is contained in:
electro199 committed 2022-12-02 14:55:53 +05:00
1 parent 2043827589
commit 489effa055
1 file changed
-7
-7
View File
@@ -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)