mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-02-27 05:28:23 +00:00
Workaround
This commit is contained in:
parent
feb0aed388
commit
5c4cd7383b
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ counts = {'lc': 0}
|
||||||
|
|
||||||
# Create the SQLite connection
|
# Create the SQLite connection
|
||||||
conn = sqlite3.connect('/etc/pihole/pihole.db')
|
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()
|
c = conn.cursor()
|
||||||
|
|
||||||
create_tables()
|
create_tables()
|
||||||
|
|
Loading…
Add table
Reference in a new issue