diff --git a/resources/lib/Utils.py b/resources/lib/Utils.py index 5722e6a8..8f81f5e2 100644 --- a/resources/lib/Utils.py +++ b/resources/lib/Utils.py @@ -66,7 +66,7 @@ def getKodiVideoDBPath(): dirs, files = xbmcvfs.listdir("special://database") dbVersion = "" - for database in files and "journal" not in database: + for database in files: if "MyVideos" in database: dbVersion = database @@ -80,7 +80,7 @@ def getKodiMusicDBPath(): dirs, files = xbmcvfs.listdir("special://database") dbVersion = "" - for database in files and "journal" not in database: + for database in files: if "MyMusic" in database: dbVersion = database