diff options
| author | M4xw <m4x@m4xw.net> | 2022-02-01 21:12:46 +0100 |
|---|---|---|
| committer | M4xw <m4x@m4xw.net> | 2022-02-03 20:35:22 +0100 |
| commit | e90d22965fae50cd4a933838d1c41345a62e9c2b (patch) | |
| tree | 8854e22af03fe9705a870078ab26de24a62b5bd3 | |
| parent | 54f177adabd65fc04d11349c2a2ea70a9cfc8e6b (diff) | |
[OTRExporter] Fallback dir creation
| -rwxr-xr-x | extract_assets.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extract_assets.py b/extract_assets.py index e931d18..f5629f8 100755 --- a/extract_assets.py +++ b/extract_assets.py @@ -42,6 +42,7 @@ def ExtractFunc(fullPath): objectName = os.path.splitext(xmlName)[0] outPath = os.path.join("..\\soh\\assets\\", *pathList[4:], objectName) + os.makedirs(outPath, exist_ok=True) outSourcePath = outPath #if fullPath in globalExtractedAssetsTracker: |
