changeset 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 e4715a609d75
children a8c2d8b3453f
files sat/plugins/plugin_xep_0166.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0166.py	Fri Apr 26 11:57:26 2019 +0200
+++ b/sat/plugins/plugin_xep_0166.py	Fri Apr 26 11:57:26 2019 +0200
@@ -143,7 +143,7 @@
             self._delSession(client, sid)
             log.warning(
                 u"Error while managing jingle session, cancelling: {condition}".format(
-                    error_condition
+                    condition=error_condition
                 )
             )
         client.send(iq_elt)