diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-20 02:22:32 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-08-20 02:22:34 -0700 |
commit | 0c400f377bb02c3ea6290de865650f00f1f1abbd (patch) | |
tree | 466582953906b16d3748c1678357b7c362e1d80b /python/fatcat/crossref_importer.py | |
parent | 2f7cff3c597af42c8dd02313bdceb98a11c2e414 (diff) | |
download | fatcat-0c400f377bb02c3ea6290de865650f00f1f1abbd.tar.gz fatcat-0c400f377bb02c3ea6290de865650f00f1f1abbd.zip |
python autoaccept implementation
More to review:
- duplicate containers getting created in batch mode? eg, if multiple
releases with same container. should push+autoaccept those anyways?
Diffstat (limited to 'python/fatcat/crossref_importer.py')
-rw-r--r-- | python/fatcat/crossref_importer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat/crossref_importer.py b/python/fatcat/crossref_importer.py index d3e525a4..b12851dc 100644 --- a/python/fatcat/crossref_importer.py +++ b/python/fatcat/crossref_importer.py @@ -152,4 +152,4 @@ class FatcatCrossrefImporter(FatcatImporter): re.container_id = container.ident self._issnl_id_map[ce.issnl] = container.ident release_batch.append(re) - self.api.create_release_batch(release_batch) + self.api.create_release_batch(release_batch, autoaccept=True) |