Workaround

This commit is contained in:
Promofaux 2016-09-30 23:09:54 +01:00
parent feb0aed388
commit 5c4cd7383b

View file

@ -60,6 +60,7 @@ counts = {'lc': 0}
# Create the SQLite connection
conn = sqlite3.connect('/etc/pihole/pihole.db')
conn.text_factory = str # I don't like it as a fix, but it works for now
c = conn.cursor()
create_tables()