Skip to content

Commit 9a28864

Browse files
committed
fixed document tab title format
1 parent 4edb59c commit 9a28864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def documents_to_htmls(mmif, viz_id):
9191
elif document.at_type == DocumentTypes.ImageDocument:
9292
boxes = get_boxes(mmif)
9393
html = html_img(doc_path, boxes)
94-
media.append((document.at_type, document.id, doc_path, html))
94+
media.append((document.at_type.shortname, document.id, doc_path, html))
9595
manifest_filename = generate_iiif_manifest(mmif, viz_id)
9696
man = os.path.basename(manifest_filename)
9797
temp = render_template("uv_player.html", manifest=man, mmif_id=viz_id)

0 commit comments

Comments
 (0)