resolve environments in dev bundle paths

This commit is contained in:
Ondřej Samohel 2025-09-08 14:35:57 +02:00
parent 8bd1f08cc3
commit 257dfe204a
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -302,6 +302,9 @@ def _load_ayon_addons(log):
milestone_version = MOVED_ADDON_MILESTONE_VERSIONS.get(addon_name)
if use_dev_path:
addon_dir = dev_addon_info["path"]
if addon_dir:
addon_dir.format(os.environ)
if not addon_dir or not os.path.exists(addon_dir):
log.warning((
"Dev addon {} {} path does not exists. Path \"{}\""