From 525d9874db7a7799d28d658af198909365fcf02d Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 15 Mar 2017 18:29:09 +0100 Subject: [PATCH] Bugfixing --- pp_lib/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pp_lib/common.py b/pp_lib/common.py index a4180e3..b7ee8c0 100644 --- a/pp_lib/common.py +++ b/pp_lib/common.py @@ -20,7 +20,7 @@ import six # Own modules -__version__ = '0.2.1' +__version__ = '0.2.2' log = logging.getLogger(__name__) @@ -158,7 +158,7 @@ def to_str(obj, encoding='utf-8'): if six.PY2: return encode_or_bust(obj, encoding) else: - return to_unicode_or_bust(obj, encoding) + return to_unicode(obj, encoding) # ============================================================================= -- 2.39.5