diff --git a/openpype/lib/execute.py b/openpype/lib/execute.py index 0c5ae2df8a..7735eb141b 100644 --- a/openpype/lib/execute.py +++ b/openpype/lib/execute.py @@ -200,7 +200,7 @@ def run_openpype_process(*args, **kwargs): args = get_openpype_execute_args(*args) env = kwargs.pop("env", None) # Keep env untouched if are passed and not empty - if env is None: + if not env: # Skip envs that can affect OpenPype process # - fill more if you find more env = clean_envs_for_openpype_process(os.environ)