6408: Restore warning message for missing GExiv2 module
svn: r21483
This commit is contained in:
parent
b2319f90d4
commit
512c57cb04
@ -395,6 +395,10 @@ if available:
|
|||||||
gramplet_title = _("Image Metadata"),
|
gramplet_title = _("Image Metadata"),
|
||||||
navtypes=["Media"],
|
navtypes=["Media"],
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
import logging
|
||||||
|
logging.warning(_("WARNING: GExiv2 module not loaded. "
|
||||||
|
"Image metadata functionality will not be available."))
|
||||||
|
|
||||||
register(GRAMPLET,
|
register(GRAMPLET,
|
||||||
id="Person Residence",
|
id="Person Residence",
|
||||||
|
Loading…
Reference in New Issue
Block a user