mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 16:13:38 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ def get_title_sort_pat(lang=None):
|
|||
|
||||
|
||||
_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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue