mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d8bfb8c8b1
commit
9a2dc518ad
@ -231,11 +231,7 @@ primary_startswith = _make_func(_strcmp_template, 'primary_startswith', collator
|
||||
|
||||
safe_chr = _icu.chr
|
||||
|
||||
try:
|
||||
ord_string = _icu.ord_string
|
||||
except AttributeError:
|
||||
# People running from source
|
||||
ord_string = lambda x: tuple(map(ord, x))
|
||||
|
||||
def character_name(string):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user