fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added urls.
[redakcja.git]
/
apps
/
api
/
utils.py
diff --git
a/apps/api/utils.py
b/apps/api/utils.py
index
f8be8a1
..
37a89a2
100644
(file)
--- 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(
n
key, unicode):
ukey = nkey.decode('utf-8')
else:
ukey = nkey