summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/bitmask/config/leapsettings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/config/leapsettings.py b/src/leap/bitmask/config/leapsettings.py
index 4604b807..ca94129e 100644
--- a/src/leap/bitmask/config/leapsettings.py
+++ b/src/leap/bitmask/config/leapsettings.py
@@ -129,7 +129,7 @@ class LeapSettings(object):
providers = []
try:
providers_path = os.path.join(
- self._path_prefix, "leap", "providers")
+ get_path_prefix(), "leap", "providers")
providers = os.listdir(providers_path)
except Exception as e:
logger.debug("Error listing providers, assume there are none. %r"