Skip to content

Commit

Permalink
YDA-5568: fix contributors for OAI_DC format
Browse files Browse the repository at this point in the history
When using the OAI_DC format, MOAI overwrote the contributor
entries with creator entries.
  • Loading branch information
stsnel committed Jan 3, 2024
1 parent 37e74f5 commit 38280e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moai/metadata/oaidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def unpack_single(arg):
if not isinstance(con_list, list):
con_list = [con_list]

for dccon in creator_list:
for dccon in con_list:
name = dccon['Name']['Given_Name'] + ' ' + dccon['Name']['Family_Name']

affiliation_list = dccon['Affiliation']
Expand Down

0 comments on commit 38280e8

Please sign in to comment.