Commit a5f6aee7 authored by Nicolas Delaby's avatar Nicolas Delaby

Pass content_type argument to update manifest file of ODF archive


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40557 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3d8bc0d0
...@@ -154,7 +154,9 @@ class ImageFieldWidget(Widget.TextWidget): ...@@ -154,7 +154,9 @@ class ImageFieldWidget(Widget.TextWidget):
format = content_type.split('/')[-1] format = content_type.split('/')[-1]
# add the image to the odg document # add the image to the odg document
picture_path = ooo_builder.addImage(image=image_data, format=format) picture_path = ooo_builder.addImage(image=image_data,
format=format,
content_type=content_type)
# create the xml nodes related to the image # create the xml nodes related to the image
draw_frame_tag_name = '{%s}%s' % (DRAW_URI, 'frame') draw_frame_tag_name = '{%s}%s' % (DRAW_URI, 'frame')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment