diff sat/core/sat_main.py @ 3088:d1464548055a

plugin file download: meta plugin to handle file download: - first code in backend to use async/await Python syntax \o/ - plugin with file upload - URL schemes can be registered - `http` and `https` schemes are handled by default
author Goffi <goffi@goffi.org>
date Fri, 20 Dec 2019 12:28:04 +0100
parents 2cc2f65379f7
children 7574f795bd1e
line wrap: on
line diff
--- a/sat/core/sat_main.py	Fri Dec 20 12:28:04 2019 +0100
+++ b/sat/core/sat_main.py	Fri Dec 20 12:28:04 2019 +0100
@@ -67,15 +67,18 @@
         self.profiles = {}
         self.plugins = {}
         # map for short name to whole namespace,
+        # extended by plugins with registerNamespace
         self.ns_map = {
             "x-data": xmpp.NS_X_DATA,
             "disco#info": xmpp.NS_DISCO_INFO,
         }
-        # extended by plugins with registerNamespace
+
         self.memory = memory.Memory(self)
+
+        # trigger are used to change SàT behaviour
         self.trigger = (
             trigger.TriggerManager()
-        )  # trigger are used to change SàT behaviour
+        )
 
         bridge_name = self.memory.getConfig("", "bridge", "dbus")