9554: example.gramps map has different value, and should return correct type
This commit is contained in:
parent
919f127aed
commit
894e74d127
@ -967,8 +967,10 @@ class DbBsddbRead(DbReadBase, Callback):
|
|||||||
else:
|
else:
|
||||||
key = surname
|
key = surname
|
||||||
name_group = self.name_group.get(key, surname)
|
name_group = self.name_group.get(key, surname)
|
||||||
if name_group:
|
if isinstance(name_group, bytes):
|
||||||
return name_group.decode("utf-8")
|
return name_group.decode("utf-8")
|
||||||
|
else:
|
||||||
|
return name_group
|
||||||
|
|
||||||
def get_name_group_keys(self):
|
def get_name_group_keys(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user