From 988d62c9acf56e9f7a0809e382c4ecbc3e31d553 Mon Sep 17 00:00:00 2001
From: angelblue05 <tamara.angel05@gmail.com>
Date: Tue, 1 Dec 2015 00:53:59 -0600
Subject: [PATCH] Fix cursor staying open after marking as watched

---
 resources/lib/WriteKodiVideoDB.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/lib/WriteKodiVideoDB.py b/resources/lib/WriteKodiVideoDB.py
index b91d26d9..bc11bcf8 100644
--- a/resources/lib/WriteKodiVideoDB.py
+++ b/resources/lib/WriteKodiVideoDB.py
@@ -74,7 +74,7 @@ class WriteKodiVideoDB():
                 # Erase any resume point associated
                 self.setKodiResumePoint(id, 0, 0, cursor, playcount)
         finally:
-            cursor.close
+            cursor.close()
         
     def addOrUpdateMovieToKodiLibrary(self, embyId, connection, cursor, viewTag):