summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slixmpp/plugins/xep_0009/binding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0009/binding.py b/slixmpp/plugins/xep_0009/binding.py
index ffec5431..4b64a010 100644
--- a/slixmpp/plugins/xep_0009/binding.py
+++ b/slixmpp/plugins/xep_0009/binding.py
@@ -22,7 +22,7 @@ def fault2xml(fault):
def xml2fault(params):
vals = []
- for value in params.xml.findall('{%s}value' % _namespace):
+ for value in params.findall('{%s}value' % _namespace):
vals.append(_xml2py(value))
fault = dict()
fault['code'] = vals[0]['faultCode']