[FIX] report engine: fixed a bug when the xml tag is empty
bzr revid: olt@tinyerp.com-20090817123747-ets06zg2rym119ln
This commit is contained in:
parent
68df3c4c9d
commit
b29baf18e6
|
@ -216,7 +216,8 @@ class _rml_canvas(object):
|
|||
self.canvas.setTitle(self.title)
|
||||
|
||||
def _textual(self, node, x=0, y=0):
|
||||
rc = utils._process_text(self, node.text.encode('utf-8') or '')
|
||||
text = node.text and node.text.encode('utf-8') or ''
|
||||
rc = utils._process_text(self, text)
|
||||
for n in node:
|
||||
if n.tag == 'seq':
|
||||
from reportlab.lib.sequencer import getSequencer
|
||||
|
|
Loading…
Reference in New Issue