Fixed regex problem in wicd/misc.py.
This commit is contained in:
1 parent
8ffe722053
commit
d385e61b6f
1 file changed
+1
-1
+1
-1
@@ -223,7 +223,7 @@ def ParseEncryption(network):
|
|||||||
# This is the last line, so we just write it.
|
# This is the last line, so we just write it.
|
||||||
config_file = ''.join([config_file, line])
|
config_file = ''.join([config_file, line])
|
||||||
elif "$_" in line:
|
elif "$_" in line:
|
||||||
cur_val = re.findall('\$_([A-Z0-9]+)', line)
|
cur_val = re.findall('\$_([A-Z0-9_]+)', line)
|
||||||
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?
|
||||||
|
|||||||
Reference in new issue
Block a user