From 5f356b91479323dd918a2d21b68f9cd723ce40d3 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Tue, 23 Jun 2015 20:12:39 -0500 Subject: [PATCH] Revert "Attempt at fixing database locked" This reverts commit 0e7c8b5959ab78cde63c59894ff078f45dbff010. --- resources/lib/TextureCache.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lib/TextureCache.py b/resources/lib/TextureCache.py index 9fa3868d..df731dc5 100644 --- a/resources/lib/TextureCache.py +++ b/resources/lib/TextureCache.py @@ -82,10 +82,9 @@ class TextureCache(): if result: cursor.execute("DELETE FROM texture WHERE url = ?", (url,)) connection.commit() - cursor.close() else: - cursor.close() self.CacheTexture(url) + cursor.close() def setKodiWebServerDetails(self):