mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
45fef44919
commit
2ee84bad3a
@ -56,7 +56,7 @@ def py_sort_key(obj):
|
|||||||
def icu_sort_key(collator, obj):
|
def icu_sort_key(collator, obj):
|
||||||
if not obj:
|
if not obj:
|
||||||
return _none2
|
return _none2
|
||||||
return collator.sort_key(obj.lower())
|
return collator.sort_key(lower(obj))
|
||||||
|
|
||||||
def py_case_sensitive_sort_key(obj):
|
def py_case_sensitive_sort_key(obj):
|
||||||
if not obj:
|
if not obj:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user