diff --git a/gramps/plugins/gramplet/gramplet.gpr.py b/gramps/plugins/gramplet/gramplet.gpr.py index 9e01a0b7a..f75d01427 100644 --- a/gramps/plugins/gramplet/gramplet.gpr.py +++ b/gramps/plugins/gramplet/gramplet.gpr.py @@ -395,6 +395,10 @@ if available: gramplet_title = _("Image Metadata"), navtypes=["Media"], ) +else: + import logging + logging.warning(_("WARNING: GExiv2 module not loaded. " + "Image metadata functionality will not be available.")) register(GRAMPLET, id="Person Residence",