Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Ignore cover image
  • Loading branch information
kthoden committed Jan 28, 2020
1 parent df26e9e commit b7c304d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fix_tei.py
Expand Up @@ -741,7 +741,7 @@ def main():
if args.finalize:
pass
else:
all_figures = xml_tree2.xpath("//t:graphic", namespaces=NS_MAP)
all_figures = xml_tree2.xpath("//t:body//t:graphic", namespaces=NS_MAP)
bad_figures = make_figure_elements(all_figures, args.figdir)

report["bad_figures"] = bad_figures
Expand Down

0 comments on commit b7c304d

Please sign in to comment.