From 43a99cc6c2fb896b2e8bceac34121e78da8d468b Mon Sep 17 00:00:00 2001 From: sharkykh Date: Wed, 22 Jul 2020 16:10:13 +0300 Subject: [PATCH] Fix typo in `encoding_fallback` ValueError --- bencodepy/decoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bencodepy/decoder.py b/bencodepy/decoder.py index 0ddd894..e58d62b 100644 --- a/bencodepy/decoder.py +++ b/bencodepy/decoder.py @@ -43,7 +43,7 @@ def __init__(self, encoding=None, encoding_fallback=None, dict_ordered=False, di # Parse encoding fallback if encoding_fallback is not None and encoding_fallback not in ENCODING_FALLBACK_TYPES + ('all',): raise ValueError( - 'Invalid value for "encoding_fallback" (expected "all", "keys", "values" or None)' + 'Invalid value for "encoding_fallback" (expected "all", "key", "value" or None)' ) if encoding_fallback == 'all':