summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/matched.py
diff options
context:
space:
mode:
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)