reformatted

This commit is contained in:
Jason committed 2022-07-11 20:31:20 -04:00
1 parent 882bf64e1c
commit 1872ef36c1
2 files changed
+45 -17

No files matched your search

+4 -2
View File
@@ -34,8 +34,10 @@ def get_subreddit_undone(submissions: list, subreddit):
if submission.stickied:
print_substep("This post was pinned by moderators. Skipping...")
continue
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...')
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...'
)
continue
return submission
print("all submissions have been done going by top submission order")