mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Normalize path for os.mkdir
It's not happy with `foo/.`
This commit is contained in:
parent
c5f001d61e
commit
6c5956d9bc
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