Potential fix for #3355

Potential fix for #3355
This commit is contained in:
AdeHub
2025-04-12 15:26:21 +12:00
parent b690850019
commit 68a495127e

View File

@@ -427,9 +427,9 @@ class WebInterface(object):
myDB = db.DBConnection()
for artist in args:
myDB.action('DELETE FROM newartists WHERE ArtistName=?',
[artist.decode(headphones.SYS_ENCODING, 'replace')])
[artist])
myDB.action('UPDATE have SET Matched="Ignored" WHERE ArtistName=?',
[artist.decode(headphones.SYS_ENCODING, 'replace')])
[artist])
logger.info("Artist %s removed from new artist list and set to ignored" % artist)
raise cherrypy.HTTPRedirect("home")