Skip to content

Commit 27994f7

Browse files
authored
Added txt in the exception
1 parent 4a45ca9 commit 27994f7

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)