diff src/core/constants.py @ 2088:c02f96756d5c

core: bridge can now be changed in conf by default DBus bridge is used, but this can be changed in sat.conf's DEFAULT section using "bridge" option. bridge can be "dbus" (or equivalent "dbus_bridge") or embedded at the moment. Bridge name used is saved in SAT.bridge_name, and load_bridge method can be used by frontends.
author Goffi <goffi@goffi.org>
date Sun, 04 Dec 2016 18:16:37 +0100
parents 5c6db4329288
children 0931b5a6213c
line wrap: on
line diff
--- a/src/core/constants.py	Wed Oct 05 22:07:51 2016 +0200
+++ b/src/core/constants.py	Sun Dec 04 18:16:37 2016 +0100
@@ -35,6 +35,10 @@
     APP_URL = u'http://salut-a-toi.org'
 
 
+    # Main config ##
+    DEFAULT_BRIDGE = 'dbus'
+
+
     # Protocol
     XMPP_C2S_PORT = 5222
     XMPP_KEEP_ALIFE = 180