fix mkdir call in dumpmap
This commit is contained in:
parent
3bf9c19245
commit
fcd0f8072b
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class MapdataWriter:
|
|||
for file_path, content in self.write:
|
||||
full_file_path = os.path.join(settings.MAP_ROOT, file_path)
|
||||
try:
|
||||
os.makedirs(os.path.join(*os.path.split(full_file_path)[0]))
|
||||
os.makedirs(os.path.split(full_file_path)[0])
|
||||
except os.error:
|
||||
pass
|
||||
if content is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue