Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Image path was hardcoded
  • Loading branch information
Klaus Thoden committed Nov 27, 2018
1 parent c79a0ad commit da129c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fix_tei.py
Expand Up @@ -277,7 +277,7 @@ def make_figure_elements(list_of_figures, figure_directory):
selected_image = parts[0]
logging.info("Found %s in the text. Selected %s as corresponding image." % (parts[0], selected_image))
graphic.set("scale", "50")
graphic.set("url", "images/" + selected_image)
graphic.set("url", figure_directory + os.path.sep + selected_image)
else:
bad_images.append(original_string)

Expand Down

0 comments on commit da129c1

Please sign in to comment.