bzr revid: dsh@tinyerp.com-20090525101744-8ghr9uauvmzg2uy9
This commit is contained in:
dsh (Open ERP)
2009-05-25 15:47:44 +05:30
parent 47d9e9dda3
commit 3837623fa2
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -619,6 +619,7 @@ class _rml_flowable(object):
newtext = utils._process_text(self, node.text or '')
node.text = newtext
image_data = base64.decodestring(node.text)
if not image_data: return False
image = cStringIO.StringIO(image_data)
return platypus.Image(image, mask=(250,255,250,255,250,255), **(utils.attr_get(node, ['width','height'])))
else:
-1
View File
@@ -81,7 +81,6 @@ def _child_get(node, self=None, tagname=None):
n2 = copy.deepcopy(n)
n2.tag = tag
n2.attrib.update(attr or {})
print etree.tostring(n2)
yield n2
tagname = ''
except: