From 3007f8fdac5e2edbc6378ef9e5a5f447a09ab671 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 24 Dec 2015 15:07:06 -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 300da84d..c4d7e679 100644 --- a/resources/lib/kodidb_functions.py +++ b/resources/lib/kodidb_functions.py @@ -210,7 +210,7 @@ class Kodidb_Functions(): VALUES (?, ?) ''' ) - cursor.execute(query, (idCountry, itemid)) + cursor.execute(query, (idCountry, kodiid)) def addPeople(self, kodiid, people, mediatype): @@ -778,7 +778,7 @@ class Kodidb_Functions(): )) cursor.execute(query, (tag,)) try: - idTag = cursor.fetchone()[0] + tag_id = cursor.fetchone()[0] except TypeError: # Create the tag @@ -795,7 +795,7 @@ class Kodidb_Functions(): VALUES (?, ?, ?) ''' ) - cursor.execute(query, (idTag, kodiid, mediatype)) + cursor.execute(query, (tag_id, kodiid, mediatype)) def createTag(self, name):