mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
convert string to unicode at multiverse usd extractor
This commit is contained in:
parent
b553fe66a0
commit
cc1d6313d5
1 changed files with 2 additions and 0 deletions
|
|
@ -112,6 +112,8 @@ class ExtractMultiverseUsd(openpype.api.Extractor):
|
||||||
|
|
||||||
# Ensure the data is of correct type
|
# Ensure the data is of correct type
|
||||||
value = instance.data[key]
|
value = instance.data[key]
|
||||||
|
if isinstance(value, str):
|
||||||
|
value = unicode(value, "utf-8")
|
||||||
if not isinstance(value, self.options[key]):
|
if not isinstance(value, self.options[key]):
|
||||||
self.log.warning(
|
self.log.warning(
|
||||||
"Overridden attribute {key} was of "
|
"Overridden attribute {key} was of "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue