diff options
Diffstat (limited to 'python/fatcat_tools/importers/jalc.py')
-rw-r--r-- | python/fatcat_tools/importers/jalc.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/jalc.py b/python/fatcat_tools/importers/jalc.py index d560686f..94ebeff9 100644 --- a/python/fatcat_tools/importers/jalc.py +++ b/python/fatcat_tools/importers/jalc.py @@ -157,7 +157,7 @@ class JalcImporter(EntityImporter): given_name = eng.find('givenName') if given_name: given_name = given_name.string - contrib = dict( + contrib = fatcat_client.ReleaseContrib( raw_name=clean(eng.find('name').string), given_name=clean(given_name), surname=clean(surname), @@ -165,6 +165,10 @@ class JalcImporter(EntityImporter): ) contribs.append(contrib) + for i, contrib in enumerate(contribs): + if contrib.raw_name != "et al.": + contrib.index = i + release_year = None release_date = None date = record.date or None |