mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:43:27 +02:00
...
This commit is contained in:
parent
6fdc8b2139
commit
91e2fac537
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
|||
from calibre.utils.config import JSONConfig
|
||||
from calibre.utils.icu import string_length as strlen
|
||||
|
||||
string_length = lambda x: strlen(unicode(x))
|
||||
string_length = lambda x: strlen(unicode(x)) # Needed on narrow python builds, as subclasses of unicode dont work
|
||||
|
||||
SnipKey = namedtuple('SnipKey', 'trigger syntaxes')
|
||||
def snip_key(trigger, *syntaxes):
|
||||
|
|
|
|||
Loading…
Reference in a new issue