mirror of
https://github.com/KevinMidboe/bulk-downloader-for-reddit.git
synced 2026-01-02 07:16:21 +00:00
Downvote argument should have a user parameter and is not supposed to be searchable.
This commit is contained in:
@@ -213,12 +213,19 @@ def checkConflicts():
|
|||||||
if search+values["upvoted"] == 2:
|
if search+values["upvoted"] == 2:
|
||||||
raise SearchModeError("You cannot search in upvoted posts")
|
raise SearchModeError("You cannot search in upvoted posts")
|
||||||
|
|
||||||
|
if search+values["downvoted"] == 2:
|
||||||
|
raise SearchModeError("You cannot search in downvoted posts")
|
||||||
|
|
||||||
if search+values["log"] == 2:
|
if search+values["log"] == 2:
|
||||||
raise SearchModeError("You cannot search in log files")
|
raise SearchModeError("You cannot search in log files")
|
||||||
|
|
||||||
if values["upvoted"]+values["submitted"] == 1 and user == 0:
|
if values["upvoted"]+values["submitted"] == 1 and user == 0:
|
||||||
raise RedditorNameError("No redditor name given")
|
raise RedditorNameError("No redditor name given")
|
||||||
|
|
||||||
|
if values["downvoted"]+values["submitted"] == 1 and user == 0:
|
||||||
|
raise RedditorNameError("No redditor name given")
|
||||||
|
|
||||||
|
|
||||||
class PromptUser:
|
class PromptUser:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def chooseFrom(choices):
|
def chooseFrom(choices):
|
||||||
|
|||||||
Reference in New Issue
Block a user