Fix HTML-IM lang support.

This commit is contained in:
Lance Stout 2013-02-08 09:09:07 -08:00
parent 23f112602c
commit 75a792eb6f

View File

@ -70,7 +70,7 @@ class XHTML_IM(ElementBase):
return ''.join(result) return ''.join(result)
return '' return ''
def del_body(self, lang): def del_body(self, lang=None):
if lang is None: if lang is None:
lang = self.get_lang() lang = self.get_lang()
bodies = self.xml.findall('{%s}body' % XHTML_NS) bodies = self.xml.findall('{%s}body' % XHTML_NS)