We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4edb59c commit 9a28864Copy full SHA for 9a28864
utils.py
@@ -91,7 +91,7 @@ def documents_to_htmls(mmif, viz_id):
91
elif document.at_type == DocumentTypes.ImageDocument:
92
boxes = get_boxes(mmif)
93
html = html_img(doc_path, boxes)
94
- media.append((document.at_type, document.id, doc_path, html))
+ media.append((document.at_type.shortname, document.id, doc_path, html))
95
manifest_filename = generate_iiif_manifest(mmif, viz_id)
96
man = os.path.basename(manifest_filename)
97
temp = render_template("uv_player.html", manifest=man, mmif_id=viz_id)
0 commit comments