diff sat_frontends/jp/base.py @ 2705:0bb811aaf11d

jp (base): new own_jid host attribute: this attribute is None by default and must be filled at runtime if needed by a command.
author Goffi <goffi@goffi.org>
date Sat, 01 Dec 2018 10:42:25 +0100
parents ab37d1c7c38c
children bad70aa70c87
line wrap: on
line diff
--- a/sat_frontends/jp/base.py	Sat Dec 01 10:41:37 2018 +0100
+++ b/sat_frontends/jp/base.py	Sat Dec 01 10:42:25 2018 +0100
@@ -192,6 +192,8 @@
             self._outputs[type_] = OrderedDict()
         self.default_output = {}
 
+        self.own_jid = None  # must be filled at runtime if needed
+
     def _bridgeEb(self, failure):
         if isinstance(failure, exceptions.BridgeExceptionNoService):
             print(_(u"Can't connect to SàT backend, are you sure it's launched ?"))