Commit graph

16 commits

Author SHA1 Message Date
Promofaux
9f5a4ffa47 pihole.db, not gravity. 2016-10-02 18:13:10 +01:00
Dan Schaper
9f94570fff Move PRAGMA command to first step after cursor creation. 2016-10-02 09:53:43 -07:00
Dan Schaper
e9ff14daf3 Change qt (queryTable) to gt (gravityTable) 2016-10-02 09:52:47 -07:00
Promofaux
cc3fe5363a dan dropped a line = line.rstrip(), not to worry, I picked it up for him. 2016-10-02 17:39:37 +01:00
Dan Schaper
ae9b5bdffc Comments 2016-10-01 21:16:31 -07:00
Dan Schaper
e6873e0ebd Commits squashed, lots of changes. 2016-10-01 21:13:55 -07:00
Dan Schaper
2e331cbd73 Try WAL mode 2016-10-01 20:12:56 -07:00
Dan Schaper
04b5e1a7d3 Remove extra DELETE FROM - Table has just been created, should alread by empty. 2016-10-01 20:03:50 -07:00
Promofaux
b20b617718 Add pi-hole header 2016-10-02 02:56:48 +01:00
Promofaux
48d215a53a change column name to idx 2016-10-01 02:00:58 +01:00
Promofaux
5c4cd7383b Workaround 2016-09-30 23:09:54 +01:00
Promofaux
30f24dc988 Change shebang to ensure python2 is called 2016-09-30 21:15:44 +01:00
Promofaux
8e1b5338c6 Whoops, actually drop gravity table on each run 2016-09-28 20:43:16 +01:00
Promofaux
0e746bde44 Provide the correct number of bindings 2016-09-28 20:35:28 +01:00
Promofaux
43dca276f4 parameters, not string concats 2016-09-28 20:31:12 +01:00
Promofaux
ff3bb11c27 add gravity_parse.py to read gravity.list domains into db (for quicker lookups) 2016-09-28 20:18:34 +01:00