change output path

This commit is contained in:
Promofaux 2016-09-28 20:18:04 +01:00
parent cd2b954bec
commit f0343c6b77

View file

@ -140,7 +140,7 @@ logfile = sys.argv[1]
counts = {'lc': 0, 'qc': 0, 'fc': 0, 'rc': 0, 'bc':0}
# Create the SQLite connection
conn = sqlite3.connect('dnsmasq.sqlite')
conn = sqlite3.connect('/etc/pihole/pihole.db')
c = conn.cursor()
create_tables()