From 0cff79e3c890bb55fe6b8dc55f1c5b3d71b69e7c Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 7 Mar 2020 10:12:49 -0500 Subject: [PATCH] Fix logic around checking existing video directory --- jellyfin_kodi/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jellyfin_kodi/views.py b/jellyfin_kodi/views.py index 5ccfab35..b5e18ba6 100644 --- a/jellyfin_kodi/views.py +++ b/jellyfin_kodi/views.py @@ -110,7 +110,7 @@ def verify_kodi_defaults(): ''' node_path = xbmc.translatePath("special://profile/library/video") - if not xbmcvfs.exists(node_path): + if not os.path.exists(node_path): try: shutil.copytree( src=xbmc.translatePath("special://xbmc/system/library/video"),