From a2c4b97c4535e569d27d968228b87017f63cf9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Sat, 29 Oct 2022 17:09:03 +0200 Subject: [PATCH] Apply PR suggestions --- jellyfin_kodi/helper/xmls.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/jellyfin_kodi/helper/xmls.py b/jellyfin_kodi/helper/xmls.py index b4215446..0831514b 100644 --- a/jellyfin_kodi/helper/xmls.py +++ b/jellyfin_kodi/helper/xmls.py @@ -81,12 +81,9 @@ def verify_kodi_defaults(): if not os.path.exists(source_base_path): LOG.error("XMLs source path `%s` not found.", source_base_path) - return False + return # Make sure the files exist in the local profile. - # TODO: Investigate why this is needed. - # I would think Kodi pulls data from the default profile - # if we don't do this. for source_path, dirs, files in os.walk(source_base_path): relative_path = os.path.relpath(source_path, source_base_path) dest_path = os.path.join(dest_base_path, relative_path)