Skip to content

Commit

Permalink
strip fields before concatenating. closes #242
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanka16 committed May 16, 2022
1 parent b49f239 commit b86d034
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def get_prop(self, legacy_user, user_map, folio_prop_name, i=0):
self.migration_report.add(
Blurbs.Details, f"{legacy_user_keys} concatenated into one string"
)
return " ".join(legacy_user.get(key, "") for key in legacy_user_keys)
return " ".join(legacy_user.get(key, "").strip() for key in legacy_user_keys)
else:
return ""

Expand Down

0 comments on commit b86d034

Please sign in to comment.