From 512c57cb049c7985f20be059b58de1fab2606b33 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Thu, 28 Feb 2013 15:04:53 +0000 Subject: [PATCH] 6408: Restore warning message for missing GExiv2 module svn: r21483 --- gramps/plugins/gramplet/gramplet.gpr.py | 4 ++++ 1 file changed, 4 insertions(+) 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",