diff options
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r-- | sleekxmpp/plugins/xep_0071/stanza.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0071/stanza.py b/sleekxmpp/plugins/xep_0071/stanza.py index a5cedda3..ce91c552 100644 --- a/sleekxmpp/plugins/xep_0071/stanza.py +++ b/sleekxmpp/plugins/xep_0071/stanza.py @@ -70,7 +70,7 @@ class XHTML_IM(ElementBase): return ''.join(result) return '' - def del_body(self, lang): + def del_body(self, lang=None): if lang is None: lang = self.get_lang() bodies = self.xml.findall('{%s}body' % XHTML_NS) |