summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/matched.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-18 14:33:49 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-18 14:33:49 -0800
commit3ff3336ca6c2b18d71f05d9fafae6b8f8f924854 (patch)
tree7da720873cc0dedc1fb074a1ebe8f312044c89bf /python/fatcat_tools/importers/matched.py
parentce7cda4436c558f3a73b0b1b687d4dea3663bbfc (diff)
downloadfatcat-3ff3336ca6c2b18d71f05d9fafae6b8f8f924854.tar.gz
fatcat-3ff3336ca6c2b18d71f05d9fafae6b8f8f924854.zip
more 'true' -> True query param fixes
Diffstat (limited to 'python/fatcat_tools/importers/matched.py')
-rw-r--r--python/fatcat_tools/importers/matched.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/matched.py b/python/fatcat_tools/importers/matched.py
index 1e5c22f7..02c0a9c5 100644
--- a/python/fatcat_tools/importers/matched.py
+++ b/python/fatcat_tools/importers/matched.py
@@ -154,6 +154,6 @@ class MatchedImporter(FatcatImporter):
self.api.update_file(obj.ident, obj, editgroup_id=update_eg)
self.api.accept_editgroup(update_eg)
if len(new_objects) > 0:
- self.api.create_file_batch(new_objects, autoaccept="true")
+ self.api.create_file_batch(new_objects, autoaccept=True)
self.counts['update'] += len(update_objects)
self.counts['insert'] += len(new_objects)