Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Support nested studio plugins paths. #1898

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions openpype/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ def modified_emit(obj, record):
.get(platform_name)
) or []
for path in project_plugins:
try:
path = str(path.format(**os.environ))
except KeyError:
pass

if not path or not os.path.exists(path):
continue

Expand Down