typo in protocol.py

This commit is contained in:
Yann Leboulanger 2010-07-31 00:54:13 +02:00
parent 88c84e26f4
commit 546d1af937
1 changed files with 1 additions and 1 deletions

View File

@ -717,7 +717,7 @@ class Message(Protocol):
if xmllang:
dom = NodeBuilder('<body xmlns="%s" xml:lang="%s">%s</body>' % (NS_XHTML, xmllang, val)).getDom()
else:
dom = NodeBuilder('<body xmlns="%s">%s</body>, 0' % (NS_XHTM, val)).getDom()
dom = NodeBuilder('<body xmlns="%s">%s</body>, 0' % (NS_XHTML, val)).getDom()
if self.getTag('html'):
self.getTag('html').addChild(node=dom)
else: