sane-tag-music: fix bug that song would be extracted into a list of chars

This commit is contained in:
Colin 2023-12-07 15:51:17 +00:00
parent 5a6d1dd3c2
commit fc4803f3fd

View File

@ -137,7 +137,7 @@ class Tags:
new_title = new_title[:-1]
if len(title) - len(new_title) < 5:
new_title = title
tags.title = new_title
tags.title = [ new_title ]
def parse_track(track: str) -> None:
track = os.path.splitext(track)[0]