mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix dir/file resolution
This commit is contained in:
parent
6df5488cce
commit
9193003888
1 changed files with 3 additions and 1 deletions
|
|
@ -31,7 +31,9 @@ def main(path):
|
|||
bs = bootstrap_repos.BootstrapRepos(progress_callback=progress)
|
||||
if path:
|
||||
out_path = Path(path)
|
||||
bs.data_dir = out_path.parent
|
||||
bs.data_dir = out_path
|
||||
if out_path.is_file():
|
||||
bs.data_dir = out_path.parent
|
||||
|
||||
_print(f"Creating zip in {bs.data_dir} ...")
|
||||
repo_file = bs.create_version_from_live_code()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue