Improved checkConflicts()
This commit is contained in:
1 parent
94bc1c115f
commit
9338961b2b
2 files changed
+10
-6
No files matched your search
+1
-1
@@ -144,7 +144,7 @@ def getPosts(args):
|
||||
}
|
||||
|
||||
if "search" in args:
|
||||
if args["sort"] in ["hot","rising","controversial"]:
|
||||
if GLOBAL.arguments.sort in ["hot","rising","controversial"]:
|
||||
raise InvalidSortingType("Invalid sorting type has given")
|
||||
|
||||
if "subreddit" in args:
|
||||
|
||||
Reference in new issue
Block a user