Commit 1b3a7773 authored by Sebastien Robin's avatar Sebastien Robin

change object by content


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@266 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 140d3271
......@@ -67,7 +67,7 @@ class Setter(Method):
# Modify the property
if value in self._null:
setattr(instance, self._storage_id, None)
elif self._property_type is 'object':
elif self._property_type is 'content':
# A file object should be provided
file_upload = args[0]
if isinstance(file_upload, FileUpload):
......
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