diff --git a/gramps/gen/lib/handle.py b/gramps/gen/lib/handle.py index 31db2d443..c9e519c7b 100644 --- a/gramps/gen/lib/handle.py +++ b/gramps/gen/lib/handle.py @@ -44,5 +44,7 @@ class Handle: def from_struct(cls, struct): if isinstance(struct, Handle): return struct.handle + elif isinstance(struct, dict): + return struct["handle"] else: return struct