diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-12 17:50:12 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-12 19:49:50 -0800 |
commit | 91662c063b088bb665b86c252ecd27be9d9083be (patch) | |
tree | 6613d45fbfc7b63c67adff8b4f6aa1d531eda12b /python/fatcat_tools/importers/arabesque.py | |
parent | 0827b67a3f195f151a77ca01708e6c98daf778bf (diff) | |
download | fatcat-91662c063b088bb665b86c252ecd27be9d9083be.tar.gz fatcat-91662c063b088bb665b86c252ecd27be9d9083be.zip |
ensure importer description arg isn't clobbered
Diffstat (limited to 'python/fatcat_tools/importers/arabesque.py')
-rw-r--r-- | python/fatcat_tools/importers/arabesque.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/arabesque.py b/python/fatcat_tools/importers/arabesque.py index 7017c56c..acfc2b87 100644 --- a/python/fatcat_tools/importers/arabesque.py +++ b/python/fatcat_tools/importers/arabesque.py @@ -42,8 +42,7 @@ class ArabesqueMatchImporter(EntityImporter): def __init__(self, api, extid_type, require_grobid=True, **kwargs): - eg_desc = kwargs.get('editgroup_description', - "Match web crawl files to releases based on identifier/URL seedlist") + eg_desc = kwargs.get('editgroup_description', None) or "Match web crawl files to releases based on identifier/URL seedlist" eg_extra = kwargs.get('editgroup_extra', dict()) eg_extra['agent'] = eg_extra.get('agent', 'fatcat_tools.ArabesqueMatchImporter') if kwargs.get('crawl_id'): |