mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
🐛 fix handling of os.environ
This commit is contained in:
parent
257dfe204a
commit
2e88190203
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ def _load_ayon_addons(log):
|
|||
if use_dev_path:
|
||||
addon_dir = dev_addon_info["path"]
|
||||
if addon_dir:
|
||||
addon_dir.format(os.environ)
|
||||
addon_dir = addon_dir.format(**os.environ)
|
||||
|
||||
if not addon_dir or not os.path.exists(addon_dir):
|
||||
log.warning((
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue