summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: