mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +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:
|
||||
cursor.execute("DELETE FROM texture WHERE url = ?", (url,))
|
||||
connection.commit()
|
||||
else:
|
||||
self.CacheTexture(url)
|
||||
cursor.close()
|
||||
else:
|
||||
cursor.close()
|
||||
self.CacheTexture(url)
|
||||
|
||||
|
||||
def setKodiWebServerDetails(self):
|
||||
|
|
Loading…
Reference in a new issue