1
0
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:
Andrew Psaltis
2009-02-19 18:14:40 -05:00
parent 8ffe722053
commit d385e61b6f

View File

@@ -223,7 +223,7 @@ def ParseEncryption(network):
# This is the last line, so we just write it.
config_file = ''.join([config_file, 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[0] == 'SCAN':
#TODO should this be hardcoded?