Commit 78e60a3e authored by Xiaowu Zhang's avatar Xiaowu Zhang

BusinessTemplate: : is missed :-

parent 7ceb0a6e
......@@ -896,7 +896,7 @@ class ObjectTemplateItem(BaseTemplateItem):
obj.__class__.__name__][1:]
if unicode_data:
data = data.decode(obj.output_encoding)
if isinstance(obj, OFSFile) and property_name == "data"
if isinstance(obj, OFSFile) and property_name == "data":
data = obj._read_data(data)[0]
try:
setattr(obj, property_name, data)
......
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