Permalink
Browse files

Image path was hardcoded

  • Loading branch information...
kthoden committed Nov 27, 2018
1 parent c79a0ad commit da129c15473a844928316f3b4dd930b29d9edadd
Showing with 1 addition and 1 deletion.
  1. +1 −1 fix_tei.py
@@ -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)

0 comments on commit da129c1

Please sign in to comment.