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()}