From 985a6c89954b711951ec02eb17c403b9872eb7f1 Mon Sep 17 00:00:00 2001 From: Jakub Trllo Date: Tue, 15 Feb 2022 17:42:10 +0100 Subject: [PATCH] hound fix --- openpype/lib/transcoding.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openpype/lib/transcoding.py b/openpype/lib/transcoding.py index 00945a4471..e89fa6331e 100644 --- a/openpype/lib/transcoding.py +++ b/openpype/lib/transcoding.py @@ -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("&", "&")