mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
use correct path to bootstrap repos
This commit is contained in:
parent
29d582c47e
commit
f8fdb97925
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ class BootstrapRepos:
|
|||
"""Get version of local OpenPype."""
|
||||
|
||||
version = {}
|
||||
path = Path(os.path.dirname(__file__)).parent / "openpype" / "version.py"
|
||||
path = Path(os.environ["OPENPYPE_ROOT"]) / "openpype" / "version.py"
|
||||
with open(path, "r") as fp:
|
||||
exec(fp.read(), version)
|
||||
return version["__version__"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue