Normalize path for os.mkdir

It's not happy with `foo/.`
This commit is contained in:
Odd Stråbø 2020-09-04 23:02:26 +02:00
parent c5f001d61e
commit 6c5956d9bc
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)