From 163881e79fcb8919d361b666dd93664604a5254f Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 24 Dec 2015 15:16:47 -0600 Subject: [PATCH] Fix typo --- resources/lib/kodidb_functions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/kodidb_functions.py b/resources/lib/kodidb_functions.py index c4d7e679..ea0ac19e 100644 --- a/resources/lib/kodidb_functions.py +++ b/resources/lib/kodidb_functions.py @@ -899,7 +899,7 @@ class Kodidb_Functions(): "AND media_type = ?", "AND tag_id = ?" )) - cursor.execute(query, (kodiid, mediatype, tag_id)) + cursor.execute(query, (kodiid, mediatype, tag_id,)) else: # Kodi Helix query = ' '.join(( @@ -919,10 +919,10 @@ class Kodidb_Functions(): "DELETE FROM taglinks", "WHERE idMedia = ?", - "AND media_type ?", + "AND media_type = ?", "AND idTag = ?" )) - cursor.execute(query, (kodiid, mediatype, tag_id)) + cursor.execute(query, (kodiid, mediatype, tag_id,)) def createBoxset(self, boxsetname):