aboutsummaryrefslogtreecommitdiffstats
path: root/python/sandcrawler/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/sandcrawler/db.py')
-rw-r--r--python/sandcrawler/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/db.py b/python/sandcrawler/db.py
index 0054e07..e89edc7 100644
--- a/python/sandcrawler/db.py
+++ b/python/sandcrawler/db.py
@@ -59,7 +59,7 @@ class SandcrawlerPostgresClient:
cdx (url, datetime, sha1hex, mimetype, warc_path, warc_csize, warc_offset)
VALUES %s
ON CONFLICT ON CONSTRAINT cdx_pkey DO
- """.format(on_conflict)
+ """
if on_conflict.lower() == "nothing":
sql += " NOTHING"
else: