mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
ensure keys are converted to string as well
This commit is contained in:
parent
ba2d1c7edd
commit
55df47c8f3
2 changed files with 4 additions and 16 deletions
|
|
@ -94,7 +94,7 @@ def run_subprocess(*args, **kwargs):
|
|||
# not passed.
|
||||
env = kwargs.get("env") or os.environ
|
||||
# Make sure environment contains only strings
|
||||
filtered_env = {k: str(v) for k, v in env.items()}
|
||||
filtered_env = {str(k): str(v) for k, v in env.items()}
|
||||
|
||||
# Use lib's logger if was not passed with kwargs.
|
||||
logger = kwargs.pop("logger", log)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue