mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Merge remote-tracking branch 'origin/bugfix/igniter-create-missing-dir' into enhancement/clean-igniter-code
This commit is contained in:
commit
97313abc20
1 changed files with 2 additions and 0 deletions
|
|
@ -804,6 +804,8 @@ class BootstrapRepos:
|
||||||
"""
|
"""
|
||||||
version = OpenPypeVersion.version_in_str(zip_file.name)
|
version = OpenPypeVersion.version_in_str(zip_file.name)
|
||||||
destination_dir = self.data_dir / f"{version.major}.{version.minor}"
|
destination_dir = self.data_dir / f"{version.major}.{version.minor}"
|
||||||
|
if not destination_dir.exists():
|
||||||
|
destination_dir.mkdir(parents=True)
|
||||||
destination = destination_dir / zip_file.name
|
destination = destination_dir / zip_file.name
|
||||||
|
|
||||||
if destination.exists():
|
if destination.exists():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue