reformatted
This commit is contained in:
1 parent
882bf64e1c
commit
1872ef36c1
2 files changed
+45
-17
No files matched your search
+4
-2
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user