mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-07 16:10:18 +00:00
Provide the correct number of bindings
This commit is contained in:
parent
43dca276f4
commit
0e746bde44
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue