From: Ɓukasz Rekucki Date: Fri, 2 Oct 2009 09:41:57 +0000 (+0200) Subject: Fix X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/888f954ea4d9b923e963525dbdf83d9ad1f9b443?ds=sidebyside Fix --- diff --git a/apps/api/utils.py b/apps/api/utils.py index f6d9b1b5..f8be8a13 100644 --- a/apps/api/utils.py +++ b/apps/api/utils.py @@ -66,7 +66,7 @@ def natural_order(get_key=lambda x: x): def getter(key): nkey = get_key(key) if not isinstance(key, unicode): - ukey = key.decode('utf-8') + ukey = nkey.decode('utf-8') else: ukey = nkey