diff src/plugins/plugin_xep_0065.py @ 1583:d46aae87c03a

plugins XEP-0047, XEP-0065, XEP-0096: fixed use of failure.condition insteand of failure.value + removed gettext use for local logs
author Goffi <goffi@goffi.org>
date Fri, 13 Nov 2015 16:46:31 +0100
parents 8cc7d83141a4
children b57b4683dc33
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0065.py	Fri Nov 13 16:45:56 2015 +0100
+++ b/src/plugins/plugin_xep_0065.py	Fri Nov 13 16:46:31 2015 +0100
@@ -1062,7 +1062,7 @@
         log.warning(u"Proxy activation error: {}".format(failure.value))
 
     def _IQNegotiationEb(self, stanza_err, session_data, client):
-        log.warning(u"Socks5 transfer failed: {}".format(stanza_err.condition))
+        log.warning(u"Socks5 transfer failed: {}".format(stanza_err.value))
         # FIXME: must clean session
 
     def createSession(self, *args, **kwargs):