Improved checkConflicts()

This commit is contained in:
Ali Parlakci committed 2018-08-09 09:26:01 +03:00
1 parent 94bc1c115f
commit 9338961b2b
2 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -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: