diff options
author | kali <kali@leap.se> | 2013-01-31 05:47:03 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-01-31 05:47:03 +0900 |
commit | 619b0675a4d898c7b50c1b026f228beba85e4c91 (patch) | |
tree | 85a720e4515b5d2e9ce15be8eba9ed50cadcf375 /src/leap/base | |
parent | 6730bb7c76e2273b5b8408cd62f29ce8f7092d29 (diff) |
add underscore to the $HOME pattern exception
Diffstat (limited to 'src/leap/base')
-rw-r--r-- | src/leap/base/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/base/config.py b/src/leap/base/config.py index 6a13db7d..d796bcf1 100644 --- a/src/leap/base/config.py +++ b/src/leap/base/config.py @@ -282,7 +282,7 @@ def get_config_dir(): @rtype: string """ home = os.path.expanduser("~") - if re.findall("leap_tests-[a-zA-Z0-9]{6}", home): + if re.findall("leap_tests-[_a-zA-Z0-9]{6}", home): # we're inside a test! :) return os.path.join(home, ".config/leap") else: |