diff 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
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)