From 9ab82905cb9b4bd9ee9fc9edb1961405e2db2f98 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 9 Mar 2016 17:06:42 -0600 Subject: [PATCH] Fix open cursor --- contextmenu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/contextmenu.py b/contextmenu.py index 66256dca..be7a3df7 100644 --- a/contextmenu.py +++ b/contextmenu.py @@ -51,6 +51,7 @@ if __name__ == '__main__': embycursor = embyconn.cursor() emby_db = embydb.Embydb_Functions(embycursor) item = emby_db.getItem_byKodiId(itemid, itemtype) + embycursor.close() if item: embyid = item[0] logMsg("Contextmenu opened for embyid: %s - itemtype: %s" %(embyid,itemtype))