diff --git a/isic/core/health.py b/isic/core/health.py index 0a57e522..afc901a7 100644 --- a/isic/core/health.py +++ b/isic/core/health.py @@ -185,6 +185,7 @@ def check_iptc_metadata_consistency() -> HealthCheckResult: for image in jpg_images: with field_file_to_local_path(image.blob) as path, pyexiv2.Image(str(path)) as img: + # TODO: attributes iptc_credit = img.read_iptc().get("Iptc.Application2.Credit", "") if iptc_credit != image.accession.attribution: errors.append(f"{image.isic_id}: attribution mismatch") diff --git a/isic/core/templates/core/partials/image_modal.html b/isic/core/templates/core/partials/image_modal.html index 815c1931..0897b563 100644 --- a/isic/core/templates/core/partials/image_modal.html +++ b/isic/core/templates/core/partials/image_modal.html @@ -8,7 +8,7 @@ {% comment %}TODO: escape key should exist{% endcomment %}
-