Merge pull request #385 from oddstr13/pr-verify-kodi-defaults-2

Normalize path for os.mkdir
This commit is contained in:
mcarlton00 2020-09-04 18:42:12 -04:00 committed by GitHub
commit c6de19cbf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ def verify_kodi_defaults():
dest_path = os.path.join(dest_base_path, relative_path) dest_path = os.path.join(dest_base_path, relative_path)
if not os.path.exists(dest_path): if not os.path.exists(dest_path):
os.mkdir(dest_path) os.mkdir(os.path.normpath(dest_path))
for file_name in files: for file_name in files:
dest_file = os.path.join(dest_path, file_name) dest_file = os.path.join(dest_path, file_name)