Commit 098dab88 authored by Ozzieisaacs's avatar Ozzieisaacs

Fixed title sorting routine

parent cc856c7c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment