[54] #844 Fix boolean searches

pull/858/head
meisnate12 3 years ago
parent 2995269805
commit 98e625bd3e

@ -1 +1 @@
1.16.5-develop53 1.16.5-develop54

@ -149,6 +149,10 @@ class AniList:
value = f'["{temp}"]' value = f'["{temp}"]'
elif attr in ["season", "source", "country"]: elif attr in ["season", "source", "country"]:
value = self.options[attr.replace("_", " ").title()][value] value = self.options[attr.replace("_", " ").title()][value]
if value is True:
value = "true"
elif value is False:
value = "false"
if mod == "gte": if mod == "gte":
value -= 1 value -= 1
elif mod == "lte": elif mod == "lte":

Loading…
Cancel
Save