diff --git a/src/plugins/tool/FindDupes.py b/src/plugins/tool/FindDupes.py index 67602e15c..93f6e6ed0 100644 --- a/src/plugins/tool/FindDupes.py +++ b/src/plugins/tool/FindDupes.py @@ -640,7 +640,7 @@ def get_name_obj(person): def get_surnames(name): """Construct a full surname of the surnames""" - ' '.join([surn.get_surname() for surn in name.get_surname_list()]) + return ' '.join([surn.get_surname() for surn in name.get_surname_list()]) #------------------------------------------------------------------------- #