Skip to content

Commit

Permalink
iop: fix for ElementTree parsing - 2
Browse files Browse the repository at this point in the history
Signed-off-by: pamfilos <[email protected]>
  • Loading branch information
pamfilos committed Dec 12, 2024
1 parent 1b7e6f7 commit 63c33b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dags/iop/iop_process_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def convert_xml_to_et_tree(input):
xml = process_xml(input)
xml = ET.fromstring(xml)

except ET.ParseError:
except (ET.ParseError, TypeError):
xml = process_xml(input, italics=False)
xml = ET.fromstring(xml)

Expand Down

0 comments on commit 63c33b8

Please sign in to comment.