replace acoustid's ";" artist separator with "&"

neu
Tomáš Mládek 2019-07-16 12:03:46 +02:00
parent 66b12c2caf
commit 0369b98ff2
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ class DelojzaBot:
score, rid, aid_title, aid_artist = results[0]
if score > .4:
title = aid_title
artist = aid_artist
artist = re.sub(r' *; +', ' & ', aid_artist)
best_acoustid_score = score
source = "AcoustID ({}%)".format(round(score * 100))
except acoustid.NoBackendError: