Fix logic around checking existing video directory

This commit is contained in:
Matt 2020-03-07 10:12:49 -05:00
parent fcc6e942ab
commit 0cff79e3c8

View file

@ -110,7 +110,7 @@ def verify_kodi_defaults():
''' '''
node_path = xbmc.translatePath("special://profile/library/video") node_path = xbmc.translatePath("special://profile/library/video")
if not xbmcvfs.exists(node_path): if not os.path.exists(node_path):
try: try:
shutil.copytree( shutil.copytree(
src=xbmc.translatePath("special://xbmc/system/library/video"), src=xbmc.translatePath("special://xbmc/system/library/video"),