Fixed title sorting routine

This commit is contained in:
Ozzieisaacs 2020-05-21 19:37:54 +02:00
parent cc856c7cd1
commit 098dab889a
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ def update_title_sort(config, conn=None):
match = title_pat.search(title)
if match:
prep = match.group(1)
title = title.replace(prep, '') + ', ' + prep
title = title[len(prep):] + ', ' + prep
return title.strip()
conn = conn or session.connection().connection.connection