comparison sat_frontends/jp/base.py @ 3636:43542cf32e5a

cli: call `bridge.getReady()` after bridge connection
author Goffi <goffi@goffi.org>
date Wed, 01 Sep 2021 13:46:43 +0200
parents 04283582966f
children 51983c55c5b6 c143e7f35074
comparison
equal deleted inserted replaced
3634:3c7a64d6f49f 3636:43542cf32e5a
665 print( 665 print(
666 _("Error while initialising bridge: {e}").format(e=e) 666 _("Error while initialising bridge: {e}").format(e=e)
667 ) 667 )
668 self.quit(C.EXIT_BRIDGE_ERROR, raise_exc=False) 668 self.quit(C.EXIT_BRIDGE_ERROR, raise_exc=False)
669 return 669 return
670 await self.bridge.getReady()
670 self.version = await self.bridge.getVersion() 671 self.version = await self.bridge.getVersion()
671 self._bridgeConnected() 672 self._bridgeConnected()
672 self.import_plugins() 673 self.import_plugins()
673 try: 674 try:
674 self.args = self.parser.parse_args(args, namespace=None) 675 self.args = self.parser.parse_args(args, namespace=None)