Skip to content

Commit 43a99cc

Browse files
authored
Fix typo in encoding_fallback ValueError
1 parent 52c5694 commit 43a99cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bencodepy/decoder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __init__(self, encoding=None, encoding_fallback=None, dict_ordered=False, di
4343
# Parse encoding fallback
4444
if encoding_fallback is not None and encoding_fallback not in ENCODING_FALLBACK_TYPES + ('all',):
4545
raise ValueError(
46-
'Invalid value for "encoding_fallback" (expected "all", "keys", "values" or None)'
46+
'Invalid value for "encoding_fallback" (expected "all", "key", "value" or None)'
4747
)
4848

4949
if encoding_fallback == 'all':

0 commit comments

Comments
 (0)