diff --git a/gramps/plugins/lib/libmetadata.py b/gramps/plugins/lib/libmetadata.py index ab47a8754..8a84f0126 100644 --- a/gramps/plugins/lib/libmetadata.py +++ b/gramps/plugins/lib/libmetadata.py @@ -32,6 +32,8 @@ import os # #------------------------------------------------------------------------- from gi.repository import Gtk +import gi +gi.require_version('GExiv2', '0.10') from gi.repository import GExiv2 #-------------------------------------------------------------------------