anudeepND / whitelist

A simple tool to add commonly white listed domains to your Pi-Hole setup.
MIT License
4.18k stars 281 forks source link

error message since yesterday (?), failed to insert domains.... #175

Closed TillAtHome closed 3 years ago

TillAtHome commented 3 years ago

I get an error message when i run whitelist.py

[X] Failed to insert domains into Gravity database near "(": syntax error

anudeepND commented 3 years ago

This error is due to the latest update which changed the SQL query format.

Follow these steps:

  1. Run the uninstall.py
  2. git clone https://github.com/anudeepND/whitelist.git
  3. sudo python3 whitelist/scripts/whitelist.py

This should work

TillAtHome commented 3 years ago

thx for your help. the script is working again.