comparison sat/plugins/plugin_xep_0166.py @ 2920:945e53cde9b2

plugin XEP-0166: fixed missing key in warning log
author Goffi <goffi@goffi.org>
date Fri, 26 Apr 2019 11:57:26 +0200
parents 003b8b4b56a7
children 69e4716d6268
comparison
equal deleted inserted replaced
2919:e4715a609d75 2920:945e53cde9b2
141 iq_elt.error.addElement((NS_JINGLE_ERROR, jingle_condition)) 141 iq_elt.error.addElement((NS_JINGLE_ERROR, jingle_condition))
142 if error.STANZA_CONDITIONS[error_condition]["type"] == "cancel" and sid: 142 if error.STANZA_CONDITIONS[error_condition]["type"] == "cancel" and sid:
143 self._delSession(client, sid) 143 self._delSession(client, sid)
144 log.warning( 144 log.warning(
145 u"Error while managing jingle session, cancelling: {condition}".format( 145 u"Error while managing jingle session, cancelling: {condition}".format(
146 error_condition 146 condition=error_condition
147 ) 147 )
148 ) 148 )
149 client.send(iq_elt) 149 client.send(iq_elt)
150 150
151 def _terminateEb(self, failure_): 151 def _terminateEb(self, failure_):