6408: Restore warning message for missing GExiv2 module
svn: r21484
This commit is contained in:
parent
a03877e8c9
commit
3ae8e5cc1e
@ -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