Provide the correct number of bindings

This commit is contained in:
Promofaux 2016-09-28 20:35:28 +01:00
parent 43dca276f4
commit 0e746bde44

View file

@ -76,6 +76,6 @@ for line in open(logfile):
conn.commit()
sql = "INSERT INTO gravity (domain) VALUES (?)"
c.execute(sql, line)
c.execute(sql, (line,))
conn.commit()