mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-29 16:03:32 +02:00
Fix #6394 (Series Sort in save template)
This commit is contained in:
parent
972d3e600d
commit
47e56e8cbe
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ def authors_to_sort_string(authors):
|
|||
return ' & '.join(map(author_to_author_sort, authors))
|
||||
|
||||
_title_pat = re.compile('^(A|The|An)\s+', re.IGNORECASE)
|
||||
|
||||
def title_sort(title):
|
||||
match = _title_pat.search(title)
|
||||
if match:
|
||||
|
|
|
|||
Loading…
Reference in a new issue