From 9880488255e134cacf208b0f20bf41f06bb3c364 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 16 Oct 2020 10:49:42 +0200 Subject: [PATCH] fixed typo --- pype/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pype/lib.py b/pype/lib.py index ff9571de77..f364945a86 100644 --- a/pype/lib.py +++ b/pype/lib.py @@ -102,7 +102,7 @@ def _subprocess(*args, logger=None, **kwargs): # Get environents from kwarg or use current process environments if were # not passed. - env = kwargs.get("env") or os.envion + env = kwargs.get("env") or os.environ # Make sure environment contains only strings filtered_env = {k: str(v) for k, v in env.items()}