Skip to content

Commit 4e30a0d

Browse files
authored
Merge pull request #6 from ThatCopy/master
📝Added txt in the exception
2 parents 7b3f875 + 27994f7 commit 4e30a0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jokeapi/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def build_request(
6262

6363
if response_format not in ["json", "xml", "yaml", "txt"]:
6464
raise Exception(
65-
"Response format must be either json, xml or yaml."
65+
"Response format must be either json, xml, txt or yaml."
6666
)
6767
if type:
6868
if type not in ["single", "twopart"]:

0 commit comments

Comments
 (0)