Merge pull request #1898 from tokejepsen/feature/support_nested_studio_plugin_paths

Support nested studio plugins paths.
This commit is contained in:
Jakub Trllo 2021-08-04 16:36:50 +02:00 committed by GitHub
commit df8d0d7c65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,11 @@ def install():
.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