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

Fix Error dns creation #47

Closed seamustuohy closed 9 years ago

seamustuohy commented 9 years ago

When creating a rule the following error occurs.

File "/home/www/copilot/copilot/models.py" line 182, in apply_it
dnsc_rule = eule.get_dns()
File ..../models.py line 218 in get_dns
reutrn _parsed
NameError: global name _parsed not defined.
seamustuohy commented 9 years ago

Fix https://github.com/OpenInternet/co-pilot/commit/7f373e161222f38a1c7fe18f9ce1c289ddb1f040 created an error in https://github.com/OpenInternet/co-pilot/blob/7f373e161222f38a1c7fe18f9ce1c289ddb1f040/copilot/models.py#L184 TypeError, expected a character buffer object.

seamustuohy commented 9 years ago

Error Fixed in commit https://github.com/OpenInternet/co-pilot/commit/15404dcd614cec555ca0f166a2f2108a3787c1b4