summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-11-11 21:25:14 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2016-11-11 21:32:50 +0100
commit8b3537e210e9b536e5ab329381d67f32e3d21ce5 (patch)
tree9e5cb7fe88d5fd663c90006e5d1493417bcd4649 /src/leap
parent1dfad9725e39b0135a25a0739dc7fb4ee6bf92ee (diff)
[bug] return early from bonafide.get_provider
otherwise, the call from the rest API hangs forever because the authentication has not happened and not all the configs have been downloaded. - Resolves: #8576
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/bonafide/_protocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/bonafide/_protocol.py b/src/leap/bitmask/bonafide/_protocol.py
index 0afcd214..ac631d8c 100644
--- a/src/leap/bitmask/bonafide/_protocol.py
+++ b/src/leap/bitmask/bonafide/_protocol.py
@@ -175,7 +175,7 @@ class BonafideProtocol(object):
def do_get_provider(self, provider_id, autoconf=False):
provider = config.Provider(provider_id, autoconf=autoconf)
- return provider.callWhenReady(provider.config)
+ return provider.callWhenMainConfigReady(provider.config)
def do_provider_delete(self, provider_id):
return config.delete_provider(provider_id)