diff --git a/resources/lib/kodidb_functions.py b/resources/lib/kodidb_functions.py index 39c286d0..36edad66 100644 --- a/resources/lib/kodidb_functions.py +++ b/resources/lib/kodidb_functions.py @@ -956,7 +956,7 @@ class KodiDBMethods(object): return query = ''' DELETE FROM discography - WHERE idArtist = ?, strAlbum = ?, strYear = ? + WHERE idArtist = ? AND strAlbum = ? AND strYear = ? ''' self.cursor.execute(query, (artist[0], name, year))