Prevent OperationalError: database is locked

- Fixes #183
This commit is contained in:
tomkat83 2017-01-20 16:00:17 +01:00
parent 33ceb3ee33
commit 225776a145

View file

@ -227,7 +227,7 @@ def kodiSQL(media_type="video"):
else:
dbPath = getKodiVideoDBPath()
connection = sqlite3.connect(dbPath, timeout=15.0)
connection = sqlite3.connect(dbPath, timeout=60.0)
return connection
def getKodiVideoDBPath():