mirror of
https://github.com/gryf/wicd.git
synced 2025-12-23 22:52:33 +01:00
Scan the SSID by default, should make wicd a bit more cooperative at handling hidden SSIDs.
Set scan_ssid in the templates to "1" by default, instead of "0".
This commit is contained in:
@@ -257,7 +257,7 @@ def ParseEncryption(network):
|
|||||||
if cur_val:
|
if cur_val:
|
||||||
if cur_val[0] == 'SCAN':
|
if cur_val[0] == 'SCAN':
|
||||||
#TODO should this be hardcoded?
|
#TODO should this be hardcoded?
|
||||||
line = line.replace("$_SCAN", "0")
|
line = line.replace("$_SCAN", "1")
|
||||||
config_file = ''.join([config_file, line])
|
config_file = ''.join([config_file, line])
|
||||||
else:
|
else:
|
||||||
rep_val = network.get(cur_val[0].lower())
|
rep_val = network.get(cur_val[0].lower())
|
||||||
|
|||||||
Reference in New Issue
Block a user