This commit is contained in:
angelblue05 2015-12-24 15:07:06 -06:00
parent 45b75bd86a
commit 3007f8fdac

View file

@ -210,7 +210,7 @@ class Kodidb_Functions():
VALUES (?, ?) VALUES (?, ?)
''' '''
) )
cursor.execute(query, (idCountry, itemid)) cursor.execute(query, (idCountry, kodiid))
def addPeople(self, kodiid, people, mediatype): def addPeople(self, kodiid, people, mediatype):
@ -778,7 +778,7 @@ class Kodidb_Functions():
)) ))
cursor.execute(query, (tag,)) cursor.execute(query, (tag,))
try: try:
idTag = cursor.fetchone()[0] tag_id = cursor.fetchone()[0]
except TypeError: except TypeError:
# Create the tag # Create the tag
@ -795,7 +795,7 @@ class Kodidb_Functions():
VALUES (?, ?, ?) VALUES (?, ?, ?)
''' '''
) )
cursor.execute(query, (idTag, kodiid, mediatype)) cursor.execute(query, (tag_id, kodiid, mediatype))
def createTag(self, name): def createTag(self, name):