Bastien Sevajol hace 6 años
padre
commit
bb543480a3
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      synergine2_cocos2d/util.py

+ 2 - 2
synergine2_cocos2d/util.py Ver fichero

58
     :param clear_dir: Remove content of given dir
58
     :param clear_dir: Remove content of given dir
59
     """
59
     """
60
     path_ = Path(dir_path)
60
     path_ = Path(dir_path)
61
-    path_.mkdir(parents=False, exist_ok=True)
61
+    path_.mkdir(parents=True, exist_ok=True)
62
     if clear_dir:
62
     if clear_dir:
63
         shutil.rmtree(dir_path)
63
         shutil.rmtree(dir_path)
64
-        path_.mkdir(parents=False, exist_ok=True)
64
+        path_.mkdir(parents=True, exist_ok=True)