diff options
author | Tim-Oliver Husser <thusser@uni-goettingen.de> | 2021-12-13 13:51:40 +0100 |
---|---|---|
committer | Tim-Oliver Husser <thusser@uni-goettingen.de> | 2021-12-13 13:51:40 +0100 |
commit | 8fccfc452b8e7823d34762b2b1b39282d5a56f56 (patch) | |
tree | 3b17b1259fda61452b301dde16999a04b00d9b89 | |
parent | d4067275ff0eb646afaac2b0cbc9f351349ba9c0 (diff) | |
download | slixmpp-8fccfc452b8e7823d34762b2b1b39282d5a56f56.tar.gz slixmpp-8fccfc452b8e7823d34762b2b1b39282d5a56f56.tar.bz2 slixmpp-8fccfc452b8e7823d34762b2b1b39282d5a56f56.tar.xz slixmpp-8fccfc452b8e7823d34762b2b1b39282d5a56f56.zip |
replaced params.xml.findall with params.findall in xml2fault
-rw-r--r-- | slixmpp/plugins/xep_0009/binding.py | 2 |
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'] |