Revert "Attempt at fixing database locked"

This reverts commit 0e7c8b5959.
This commit is contained in:
angelblue05 2015-06-23 20:12:39 -05:00
parent 0e7c8b5959
commit 5f356b9147

View file

@ -82,10 +82,9 @@ class TextureCache():
if result: if result:
cursor.execute("DELETE FROM texture WHERE url = ?", (url,)) cursor.execute("DELETE FROM texture WHERE url = ?", (url,))
connection.commit() connection.commit()
cursor.close()
else: else:
cursor.close()
self.CacheTexture(url) self.CacheTexture(url)
cursor.close()
def setKodiWebServerDetails(self): def setKodiWebServerDetails(self):