mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
disable validation of AVALON_PROJECT environment variable
This commit is contained in:
parent
a6a04bb443
commit
2e63f282c1
1 changed files with 6 additions and 4 deletions
|
|
@ -119,10 +119,12 @@ def install_host(host):
|
|||
addons_manager = _get_addons_manager()
|
||||
|
||||
project_name = os.getenv("AVALON_PROJECT")
|
||||
if not project_name:
|
||||
raise ValueError(
|
||||
"AVALON_PROJECT is missing in environment variables."
|
||||
)
|
||||
# WARNING: This might be an issue
|
||||
# - commented out because 'traypublisher' does not have set project
|
||||
# if not project_name:
|
||||
# raise ValueError(
|
||||
# "AVALON_PROJECT is missing in environment variables."
|
||||
# )
|
||||
|
||||
log.info("Activating {}..".format(project_name))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue