Skip to content

Commit

Permalink
springer: fixes wrong decode
Browse files Browse the repository at this point in the history
Signed-off-by: Pamfilos Fokianos <[email protected]>
  • Loading branch information
pamfilos committed Dec 13, 2024
1 parent e98bd8b commit 7ca78c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dags/springer/springer_process_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def springer_parse_file(**kwargs):
if isinstance(xml_bytes, bytes):
xml_bytes = xml_bytes.decode("utf-8")
xml_bytes = process_xml(xml_bytes)
xml = ET.fromstring(xml_bytes.decode("utf-8"))
xml = ET.fromstring(xml_bytes)

parser = SpringerParser(file_name)
parsed = parser.parse(xml)
Expand Down

0 comments on commit 7ca78c4

Please sign in to comment.