From 75a792eb6f8df68d47db8014852425d9ee36d6a9 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 8 Feb 2013 09:09:07 -0800 Subject: Fix HTML-IM lang support. --- sleekxmpp/plugins/xep_0071/stanza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/plugins') 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) -- cgit v1.2.3