OpenInternet / copilot

An easy to use censorship simulating access point in a box
https://openinternet.github.io/copilot/
GNU Lesser General Public License v3.0
26 stars 2 forks source link

Add proper error correction to the add_rule method in Profiles #118

Open seamustuohy opened 8 years ago

seamustuohy commented 8 years ago

The current add_rule function simply re-raises value errors that are found when adding a rule. This should be changed to either correct the error or should not be contained within a try/except block.