diff options
author | Kali Kaneko <kali@leap.se> | 2016-03-28 12:29:57 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-03-28 15:10:54 -0400 |
commit | 62e9ae1bc0e28961e10b46646f6131152844d94c (patch) | |
tree | ceac4407c68fdd64097d3a2ce084a9342e79a855 /src/leap/bitmask/services/soledad/soledadbootstrapper.py | |
parent | 541cf77d2c7bc9202474cce4c10b535a9c225ccd (diff) |
[bug] instantiate soledadconfig if needed
Diffstat (limited to 'src/leap/bitmask/services/soledad/soledadbootstrapper.py')
-rw-r--r-- | src/leap/bitmask/services/soledad/soledadbootstrapper.py | 3 |
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() |