fixed one more issue in utils..

file exists in python needs a trailing slash behind directory names
This commit is contained in:
Marcel van der Veldt 2015-03-14 19:55:04 +01:00
parent 3c8db3fe94
commit 37f4f6b707

View file

@ -44,7 +44,7 @@ def logMsg(title, msg, level = 1):
def checkKodiSources(): def checkKodiSources():
addon = xbmcaddon.Addon(id='plugin.video.mb3sync') addon = xbmcaddon.Addon(id='plugin.video.mb3sync')
addondir = xbmc.translatePath( addon.getAddonInfo('profile') ) addondir = xbmc.translatePath( addon.getAddonInfo('profile') )
dataPath = os.path.join(addondir,"library\\") dataPath = os.path.join(addondir,"library")
movieLibrary = os.path.join(dataPath,'movies') movieLibrary = os.path.join(dataPath,'movies')
tvLibrary = os.path.join(dataPath,'tvshows') tvLibrary = os.path.join(dataPath,'tvshows')