Revert "Quick follow up"

This reverts commit 7f2610642b.
This commit is contained in:
angelblue05 2015-06-16 21:11:50 -05:00
parent 7f2610642b
commit 0b0d1aaacc

View file

@ -66,7 +66,7 @@ def getKodiVideoDBPath():
dirs, files = xbmcvfs.listdir("special://database") dirs, files = xbmcvfs.listdir("special://database")
dbVersion = "" dbVersion = ""
for database in files and "journal" not in database: for database in files:
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 and "journal" not in database: for database in files:
if "MyMusic" in database: if "MyMusic" in database:
dbVersion = database dbVersion = database