mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 10:46:11 +00:00
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()
|
||||||
else:
|
|
||||||
self.CacheTexture(url)
|
|
||||||
cursor.close()
|
cursor.close()
|
||||||
|
else:
|
||||||
|
cursor.close()
|
||||||
|
self.CacheTexture(url)
|
||||||
|
|
||||||
|
|
||||||
def setKodiWebServerDetails(self):
|
def setKodiWebServerDetails(self):
|
||||||
|
|
Loading…
Reference in a new issue