Commit abf7d80a authored by Yoshinori Okuji's avatar Yoshinori Okuji

Fix a wrong conditional.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15184 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 65fbba95
......@@ -319,7 +319,7 @@ xmlns:config="http://openoffice.org/2001/config" office:version="1.0">
# manipulations are different
is_standard_filetype = True
if getattr(picture, 'data', None) is not None \
if getattr(picture, 'data', None) is None \
or callable(picture.content_type):
is_standard_filetype = False
......
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