mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
hound fix
This commit is contained in:
parent
7a81e8dc1c
commit
985a6c8995
1 changed files with 3 additions and 2 deletions
|
|
@ -197,8 +197,9 @@ def parse_oiio_xml_output(xml_string, logger=None):
|
|||
# Fix values with ampresand (lazy fix)
|
||||
# - oiiotool exports invalid xml which ElementTree can't handle
|
||||
# e.g. ""
|
||||
# WARNING: this will affect even valid character entities. If you need those values correctly, this must
|
||||
# take care of valid character ranges. See https://github.com/pypeclub/OpenPype/pull/2729
|
||||
# WARNING: this will affect even valid character entities. If you need
|
||||
# those values correctly, this must take care of valid character ranges.
|
||||
# See https://github.com/pypeclub/OpenPype/pull/2729
|
||||
matches = XML_CHAR_REF_REGEX_HEX.findall(xml_string)
|
||||
for match in matches:
|
||||
new_value = match.replace("&", "&")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue