pihole.db, not gravity.

This commit is contained in:
Promofaux 2016-10-02 18:13:10 +01:00
parent 9f94570fff
commit 9f5a4ffa47

View file

@ -18,7 +18,7 @@ import sqlite3
logfile = '/etc/pihole/pihole.2.eventHorizon.txt' logfile = '/etc/pihole/pihole.2.eventHorizon.txt'
# Create the SQLite connection # Create the SQLite connection
conn = sqlite3.connect('/etc/pihole/gravity.db') conn = sqlite3.connect('/etc/pihole/pihole.db')
# Python auto-handle commits, no need to call for commits manually # Python auto-handle commits, no need to call for commits manually
with conn: with conn: