mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
Merge pull request #385 from oddstr13/pr-verify-kodi-defaults-2
Normalize path for os.mkdir
This commit is contained in:
commit
c6de19cbf5
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ def verify_kodi_defaults():
|
|||
dest_path = os.path.join(dest_base_path, relative_path)
|
||||
|
||||
if not os.path.exists(dest_path):
|
||||
os.mkdir(dest_path)
|
||||
os.mkdir(os.path.normpath(dest_path))
|
||||
|
||||
for file_name in files:
|
||||
dest_file = os.path.join(dest_path, file_name)
|
||||
|
|
Loading…
Reference in a new issue