mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
python3: listify the range() generator before appending to it
We explicitly need a list here.
This commit is contained in:
parent
9386839320
commit
8e125b56a0
@ -135,7 +135,7 @@ def get_title_sort_pat(lang=None):
|
|||||||
|
|
||||||
|
|
||||||
_ignore_starts = u'\'"'+u''.join(codepoint_to_chr(x) for x in
|
_ignore_starts = u'\'"'+u''.join(codepoint_to_chr(x) for x in
|
||||||
range(0x2018, 0x201e)+[0x2032, 0x2033])
|
list(range(0x2018, 0x201e))+[0x2032, 0x2033])
|
||||||
|
|
||||||
|
|
||||||
def title_sort(title, order=None, lang=None):
|
def title_sort(title, order=None, lang=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user