Jason 2 years ago
parent 482a666941
commit 36e07c4c37

@ -34,7 +34,7 @@ def get_subreddit_undone(submissions: list, subreddit):
if submission.stickied: if submission.stickied:
print_substep("This post was pinned by moderators. Skipping...") print_substep("This post was pinned by moderators. Skipping...")
continue continue
if submission.num_comments < int(settings.config["reddit"]['thread']["min_comments"]): if submission.num_comments <= int(settings.config["reddit"]['thread']["min_comments"]):
print_substep(f'This post has under the specified minimum of comments ({settings.config["reddit"]["thread"]["min_comments"]}). Skipping...') print_substep(f'This post has under the specified minimum of comments ({settings.config["reddit"]["thread"]["min_comments"]}). Skipping...')
continue continue
return submission return submission

Loading…
Cancel
Save