summaryrefslogtreecommitdiff
path: root/src/leap/base
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-31 05:47:03 +0900
committerkali <kali@leap.se>2013-01-31 05:58:11 +0900
commit8e5c1a50b4d6e57860a63fe5b52d56a4c205345d (patch)
tree1c2ef48d5b19518ecc62e3db4a01d19b522d7185 /src/leap/base
parent4b0dc38d6eaa970b49cadbf5c0174eb7c34197fc (diff)
add underscore to the $HOME pattern exception
Diffstat (limited to 'src/leap/base')
-rw-r--r--src/leap/base/config.py2
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: