plugin XML Log: fixed dbus signal name
This commit is contained in:
parent
b200e5f8de
commit
b0fb8f50de
1 changed files with 3 additions and 3 deletions
|
|
@ -44,11 +44,11 @@ class LoggingXmlStream(XmlStream):
|
|||
log=obj.toXml()
|
||||
else:
|
||||
error(_('INTERNAL ERROR: Unmanaged XML type'))
|
||||
self._host.bridge.XmlLog("OUT", log, self._profile)
|
||||
self._host.bridge.xmlLog("OUT", log, self._profile)
|
||||
return XmlStream.send(self, obj)
|
||||
|
||||
def dataReceived(self, data):
|
||||
self._host.bridge.XmlLog("IN", data.decode('utf-8'), self._profile)
|
||||
self._host.bridge.xmlLog("IN", data.decode('utf-8'), self._profile)
|
||||
return XmlStream.dataReceived(self, data)
|
||||
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ class XmlLog():
|
|||
host.memory.importParams(self.params)
|
||||
|
||||
#bridge
|
||||
host.bridge.addSignal("XmlLog", ".communication", signature='sss') #args: direction("IN" or "OUT"), xml_data, profile
|
||||
host.bridge.addSignal("xmlLog", ".communication", signature='sss') #args: direction("IN" or "OUT"), xml_data, profile
|
||||
|
||||
do_log = bool(self.host.memory.getParamA("Xml log", "Debug"))
|
||||
if do_log:
|
||||
|
|
|
|||
Loading…
Reference in a new issue