mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge pull request #1511 from ynput/bugfix/support-older-ayon-launcher
Chore: Support older AYON launcher
This commit is contained in:
commit
b8db0c4792
1 changed files with 3 additions and 0 deletions
|
|
@ -141,6 +141,9 @@ def _get_ayon_bundle_data() -> tuple[
|
|||
]:
|
||||
studio_bundle_name = os.environ.get("AYON_STUDIO_BUNDLE_NAME")
|
||||
project_bundle_name = os.getenv("AYON_BUNDLE_NAME")
|
||||
# If AYON launcher <1.4.0 was used
|
||||
if not studio_bundle_name:
|
||||
studio_bundle_name = project_bundle_name
|
||||
bundles = ayon_api.get_bundles()["bundles"]
|
||||
studio_bundle = next(
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue