From ff00a41b907129597b7c2ef0f94fd17f15bf328c Mon Sep 17 00:00:00 2001 From: Anton Efimenko Date: Sun, 22 Jun 2014 13:16:22 -0700 Subject: [PATCH] Fix typo in utils.py --- flanker/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flanker/utils.py b/flanker/utils.py index 5514ef9..8c20a91 100644 --- a/flanker/utils.py +++ b/flanker/utils.py @@ -18,7 +18,7 @@ def _guess_and_convert(value): try: value = value.decode(charset["encoding"], "replace") return value - except (UnicodeError, LookupError): + except (UnicodeError, LookupError) as e: raise errors.DecodingError(str(e)) def _make_unicode(value, charset=None): -- 2.43.0