diff options
Diffstat (limited to 'python/fatcat_tools/importers/cdl_dash_dat.py')
-rwxr-xr-x | python/fatcat_tools/importers/cdl_dash_dat.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/python/fatcat_tools/importers/cdl_dash_dat.py b/python/fatcat_tools/importers/cdl_dash_dat.py index b88117e0..1a4114a0 100755 --- a/python/fatcat_tools/importers/cdl_dash_dat.py +++ b/python/fatcat_tools/importers/cdl_dash_dat.py @@ -96,8 +96,6 @@ def cdl_dash_release( ReleaseAbstract(mimetype="text/html", content=clean(desc["value"])) ) # print(abstracts) - if not abstracts: - abstracts = None contribs = [] for creator in meta["creator"]: @@ -123,7 +121,7 @@ def cdl_dash_release( release_type="dataset", license_slug=license_slug, contribs=contribs, - abstracts=abstracts, + abstracts=abstracts or None, extra=extra, ) return r |