Quick follow up
Prevent from picking up the temp journal file Kodi creates.
This commit is contained in:
parent
3c1ce16da0
commit
7f2610642b
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ def getKodiVideoDBPath():
|
||||||
dirs, files = xbmcvfs.listdir("special://database")
|
dirs, files = xbmcvfs.listdir("special://database")
|
||||||
dbVersion = ""
|
dbVersion = ""
|
||||||
|
|
||||||
for database in files:
|
for database in files and "journal" not in database:
|
||||||
if "MyVideos" in database:
|
if "MyVideos" in database:
|
||||||
dbVersion = database
|
dbVersion = database
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ def getKodiMusicDBPath():
|
||||||
dirs, files = xbmcvfs.listdir("special://database")
|
dirs, files = xbmcvfs.listdir("special://database")
|
||||||
dbVersion = ""
|
dbVersion = ""
|
||||||
|
|
||||||
for database in files:
|
for database in files and "journal" not in database:
|
||||||
if "MyMusic" in database:
|
if "MyMusic" in database:
|
||||||
dbVersion = database
|
dbVersion = database
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue