Update openpype/lib/execute.py

This commit is contained in:
Toke Jepsen 2023-03-29 09:17:20 +01:00 committed by GitHub
parent 85196b68f4
commit 7264ce3aaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -199,7 +199,7 @@ def run_openpype_process(*args, **kwargs):
# - fill more if you find more
env = clean_envs_for_openpype_process(os.environ)
# Add OpenPype version if we are running from build.
# Only keep OpenPype version if we are running from build.
if not is_running_from_build():
env.pop("OPENPYPE_VERSION", None)