From e0ffa2d293f0cfe96472ea2026eb097eb3e75107 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 17 Aug 2010 18:17:36 +0200 Subject: [PATCH] [jingle] fix TB when receiving an error stanza --- src/common/jingle_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/jingle_session.py b/src/common/jingle_session.py index 4849f7fa8..aacf9f800 100644 --- a/src/common/jingle_session.py +++ b/src/common/jingle_session.py @@ -325,7 +325,7 @@ class JingleSession(object): break elif child.getNamespace() == xmpp.NS_STANZAS: error_name = child.getName() - self.__dispatch_error(error_name, text, error.getAttribute('type')) + self.__dispatch_error(error_name, text, error.getAttr('type')) # FIXME: Not sure when we would want to do that... def __on_transport_replace(self, stanza, jingle, error, action):