mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
make sure anatomy does not return unicode strings
This commit is contained in:
parent
62bd44ca95
commit
676e68f56b
1 changed files with 4 additions and 1 deletions
|
|
@ -1568,8 +1568,11 @@ class Roots:
|
|||
key_items = [self.env_prefix]
|
||||
for _key in keys:
|
||||
key_items.append(_key.upper())
|
||||
|
||||
key = "_".join(key_items)
|
||||
return {key: roots.value}
|
||||
# Make sure key and value does not contain unicode
|
||||
# - can happen in Python 2 hosts
|
||||
return {str(key): str(roots.value)}
|
||||
|
||||
output = {}
|
||||
for _key, _value in roots.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue