Commit dcdd5ee0 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Close stream.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17516 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4dbff846
......@@ -400,6 +400,7 @@ class Image(File, OFSImage):
writeData(imgin, self.getData())
imgin.close()
newimg.write(imgout.read())
imgout.close()
newimg.seek(0)
return newimg
......
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