Attempt at fixing database locked
Hopefully, the close before cachetexture will fix the issue.
This commit is contained in:
parent
f946f7ba69
commit
0e7c8b5959
1 changed files with 2 additions and 1 deletions
|
@ -82,9 +82,10 @@ 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):
|
||||||
|
|
Loading…
Reference in a new issue