Fix cursor staying open after marking as watched

This commit is contained in:
angelblue05 2015-12-01 00:53:59 -06:00
parent 4e2cd67946
commit 988d62c9ac

View file

@ -74,7 +74,7 @@ class WriteKodiVideoDB():
# Erase any resume point associated # Erase any resume point associated
self.setKodiResumePoint(id, 0, 0, cursor, playcount) self.setKodiResumePoint(id, 0, 0, cursor, playcount)
finally: finally:
cursor.close cursor.close()
def addOrUpdateMovieToKodiLibrary(self, embyId, connection, cursor, viewTag): def addOrUpdateMovieToKodiLibrary(self, embyId, connection, cursor, viewTag):