summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-28 12:29:57 -0400
committerKali Kaneko <kali@leap.se>2016-03-28 15:10:54 -0400
commit62e9ae1bc0e28961e10b46646f6131152844d94c (patch)
treeceac4407c68fdd64097d3a2ce084a9342e79a855 /src/leap/bitmask
parent541cf77d2c7bc9202474cce4c10b535a9c225ccd (diff)
[bug] instantiate soledadconfig if needed
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/services/soledad/soledadbootstrapper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/services/soledad/soledadbootstrapper.py b/src/leap/bitmask/services/soledad/soledadbootstrapper.py
index a10a2731..21cdee31 100644
--- a/src/leap/bitmask/services/soledad/soledadbootstrapper.py
+++ b/src/leap/bitmask/services/soledad/soledadbootstrapper.py
@@ -331,6 +331,9 @@ class SoledadBootstrapper(AbstractBootstrapper):
:returns: the server url
:rtype: unicode
"""
+ if not self._soledad_config:
+ self._soledad_config = SoledadConfig()
+
# TODO: Select server based on timezone (issue #3308)
server_dict = self._soledad_config.get_hosts()