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 access point identification and evaluation in get_ap_status #115

Open seamustuohy opened 8 years ago

seamustuohy commented 8 years ago

The try/except stanza that sets the status of the current_ap in get_ap_status should actually evaluate if CoPilot is providing an access point instead of simply looking for if the AP name is set in the trainer and showing a "on" state if it does not raise an exception.