This commit is contained in:
angelblue05 2015-12-24 15:16:47 -06:00
parent 3007f8fdac
commit 163881e79f

View file

@ -899,7 +899,7 @@ class Kodidb_Functions():
"AND media_type = ?", "AND media_type = ?",
"AND tag_id = ?" "AND tag_id = ?"
)) ))
cursor.execute(query, (kodiid, mediatype, tag_id)) cursor.execute(query, (kodiid, mediatype, tag_id,))
else: else:
# Kodi Helix # Kodi Helix
query = ' '.join(( query = ' '.join((
@ -919,10 +919,10 @@ class Kodidb_Functions():
"DELETE FROM taglinks", "DELETE FROM taglinks",
"WHERE idMedia = ?", "WHERE idMedia = ?",
"AND media_type ?", "AND media_type = ?",
"AND idTag = ?" "AND idTag = ?"
)) ))
cursor.execute(query, (kodiid, mediatype, tag_id)) cursor.execute(query, (kodiid, mediatype, tag_id,))
def createBoxset(self, boxsetname): def createBoxset(self, boxsetname):