decode sort title

This commit is contained in:
j 2020-05-22 21:56:56 +02:00
parent 30f025f13f
commit 008ba18d5d

View file

@ -58,6 +58,7 @@ def sort_title(title):
title = title.replace(u'Æ', 'Ae') title = title.replace(u'Æ', 'Ae')
if isinstance(title, bytes): if isinstance(title, bytes):
title = title.decode('utf-8') title = title.decode('utf-8')
title = ox.decode_html(title)
title = sort_string(title) title = sort_string(title)
#title #title