Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Typo
  • Loading branch information
kthoden committed Mar 19, 2019
1 parent 72d69fc commit 474e23b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fix_tei.py
Expand Up @@ -361,7 +361,7 @@ def cleanup_xml(xml_tree):
for attribute in xml_preserve:
attribute.attrib.pop("{http://www.w3.org/XML/1998/namespace}space")

formulae = xmltree.xpath("//t:formula", namespaces=NS_MAP)
formulae = xml_tree.xpath("//t:formula", namespaces=NS_MAP)
logging.info(f"Found {len(formulae)} formulae.")

for formula in formulae:
Expand Down

0 comments on commit 474e23b

Please sign in to comment.