File._edit assume that file property is a FileObject with filename attribute.
But through Contribution Tool, file is just a StringIO object without filename attribute. As filename is provided in kw, we fallback on kw.get('filename') to get the value of filename instead of reading it from file. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41121 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment