mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 21:08:06 +01:00
Fixed regex problem in wicd/misc.py.
This commit is contained in:
@@ -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