Try formatting paths with current environment.

This commit is contained in:
Toke Stuart Jepsen 2021-08-04 15:08:52 +01:00
parent 07667aa626
commit fe4a0ea2a5

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