remove path existence checks in 'add_implementation_envs'

This commit is contained in:
Jakub Trllo 2022-04-01 17:36:18 +02:00
parent 6aeb40da48
commit ea3cae8bc4
5 changed files with 7 additions and 7 deletions

View file

@ -10,7 +10,7 @@ def add_implementation_envs(env, _app):
]
old_nuke_path = env.get("NUKE_PATH") or ""
for path in old_nuke_path.split(os.pathsep):
if not path or not os.path.exists(path):
if not path:
continue
norm_path = os.path.normpath(path)