comparison sat/core/sat_main.py @ 3635:7bc443253b7c

merge branche "@"
author Goffi <goffi@goffi.org>
date Sat, 28 Aug 2021 15:32:58 +0200
parents 888109774673 3c7a64d6f49f
children cbb988a6f507
comparison
equal deleted inserted replaced
3633:597a535ee187 3635:7bc443253b7c
84 # trigger are used to change Libervia behaviour 84 # trigger are used to change Libervia behaviour
85 self.trigger = ( 85 self.trigger = (
86 trigger.TriggerManager() 86 trigger.TriggerManager()
87 ) 87 )
88 88
89 bridge_name = self.memory.getConfig("", "bridge", "dbus") 89 bridge_name = (
90 os.getenv("LIBERVIA_BRIDGE_NAME")
91 or self.memory.getConfig("", "bridge", "dbus")
92 )
90 93
91 bridge_module = dynamic_import.bridge(bridge_name) 94 bridge_module = dynamic_import.bridge(bridge_name)
92 if bridge_module is None: 95 if bridge_module is None:
93 log.error(f"Can't find bridge module of name {bridge_name}") 96 log.error(f"Can't find bridge module of name {bridge_name}")
94 sys.exit(1) 97 sys.exit(1)