From aac18e2d101a237381f92ff26557286e623a4a22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Fri, 2 Oct 2009 11:43:46 +0200 Subject: [PATCH] Fix --- apps/api/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/utils.py b/apps/api/utils.py index f8be8a13..37a89a29 100644 --- a/apps/api/utils.py +++ b/apps/api/utils.py @@ -65,7 +65,7 @@ def natural_order(get_key=lambda x: x): def getter(key): nkey = get_key(key) - if not isinstance(key, unicode): + if not isinstance(nkey, unicode): ukey = nkey.decode('utf-8') else: ukey = nkey -- 2.20.1