From d03b68b4e1a6820cfbc410984c76ff4948af61fe Mon Sep 17 00:00:00 2001 From: croneter Date: Tue, 17 Apr 2018 20:22:32 +0200 Subject: [PATCH] Fix deleting music album not working --- resources/lib/kodidb_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))