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