From 8b3537e210e9b536e5ab329381d67f32e3d21ce5 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Fri, 11 Nov 2016 21:25:14 +0100 Subject: [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 --- src/leap/bitmask/bonafide/_protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leap/bitmask/bonafide/_protocol.py b/src/leap/bitmask/bonafide/_protocol.py index 0afcd21..ac631d8 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) -- cgit v1.2.3