diff 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
line wrap: on
line diff
--- a/sat/core/sat_main.py	Fri Aug 27 15:27:14 2021 +0200
+++ b/sat/core/sat_main.py	Sat Aug 28 15:32:58 2021 +0200
@@ -86,7 +86,10 @@
             trigger.TriggerManager()
         )
 
-        bridge_name = self.memory.getConfig("", "bridge", "dbus")
+        bridge_name = (
+            os.getenv("LIBERVIA_BRIDGE_NAME")
+            or self.memory.getConfig("", "bridge", "dbus")
+        )
 
         bridge_module = dynamic_import.bridge(bridge_name)
         if bridge_module is None: