summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-30 19:59:38 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-30 19:59:38 -0700
commit6006c7406716ae15d0101a8980a2ae955de71690 (patch)
treeef3f8c902101a79290e0f3110f0cc2ed4d9c9cbc /python
parent1b10d844f20df008fa9848d4ee83e294ed9c6523 (diff)
downloadfatcat-6006c7406716ae15d0101a8980a2ae955de71690.tar.gz
fatcat-6006c7406716ae15d0101a8980a2ae955de71690.zip
"true" is the only truthy value (oh no)
Diffstat (limited to 'python')
-rw-r--r--python/fatcat/crossref_importer.py2
-rw-r--r--python/fatcat/issn_importer.py2
-rw-r--r--python/fatcat/orcid_importer.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat/crossref_importer.py b/python/fatcat/crossref_importer.py
index 7540cf61..54a3e84f 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, autoaccept=True, editgroup=editgroup_id)
+ self.api.create_release_batch(release_batch, autoaccept="true", editgroup=editgroup_id)
diff --git a/python/fatcat/issn_importer.py b/python/fatcat/issn_importer.py
index 2cb954e9..eb8a50ba 100644
--- a/python/fatcat/issn_importer.py
+++ b/python/fatcat/issn_importer.py
@@ -70,4 +70,4 @@ class FatcatIssnImporter(FatcatImporter):
objects = [o for o in objects if o != None]
for o in objects:
o.editgroup_id = editgroup_id
- self.api.create_container_batch(objects, autoaccept=True, editgroup=editgroup_id)
+ self.api.create_container_batch(objects, autoaccept="true", editgroup=editgroup_id)
diff --git a/python/fatcat/orcid_importer.py b/python/fatcat/orcid_importer.py
index 0b9860eb..fe76b02c 100644
--- a/python/fatcat/orcid_importer.py
+++ b/python/fatcat/orcid_importer.py
@@ -71,4 +71,4 @@ class FatcatOrcidImporter(FatcatImporter):
objects = [o for o in objects if o != None]
for o in objects:
o.editgroup_id = editgroup_id
- self.api.create_creator_batch(objects, autoaccept=True, editgroup=editgroup_id)
+ self.api.create_creator_batch(objects, autoaccept="true", editgroup=editgroup_id)