changeset 3636:43542cf32e5a

cli: call `bridge.getReady()` after bridge connection
author Goffi <goffi@goffi.org>
date Wed, 01 Sep 2021 13:46:43 +0200
parents 3c7a64d6f49f
children 51983c55c5b6 f4c02bdb2d91
files sat_frontends/jp/base.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat_frontends/jp/base.py	Sat Aug 28 15:26:02 2021 +0200
+++ b/sat_frontends/jp/base.py	Wed Sep 01 13:46:43 2021 +0200
@@ -667,6 +667,7 @@
                 )
                 self.quit(C.EXIT_BRIDGE_ERROR, raise_exc=False)
             return
+        await self.bridge.getReady()
         self.version = await self.bridge.getVersion()
         self._bridgeConnected()
         self.import_plugins()