We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79fb25d commit b3415ddCopy full SHA for b3415dd
jokeapi/main.py
@@ -26,7 +26,7 @@ def build_request(
26
27
if len(category):
28
for c in category:
29
- if not c.title() in self.info["categories"]:
+ if not c.lower() in self.info["categories"]:
30
raise ValueError(
31
f'''Invalid category selected.
32
You selected {c}.
0 commit comments