From d385e61b6f89823b37812d1a9a1235fb0be64cfd Mon Sep 17 00:00:00 2001 From: Andrew Psaltis Date: Thu, 19 Feb 2009 18:14:40 -0500 Subject: [PATCH] Fixed regex problem in wicd/misc.py. --- wicd/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/misc.py b/wicd/misc.py index f4b65c5..3e076aa 100644 --- a/wicd/misc.py +++ b/wicd/misc.py @@ -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?