fixed issue 1894:represent requires 2 arguments in dal.py, thanks mweissen
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.9.4-stable+timestamp.2014.03.09.17.17.38
|
Version 2.9.4-stable+timestamp.2014.03.09.17.21.20
|
||||||
|
|||||||
+1
-1
@@ -11114,7 +11114,7 @@ class Rows(object):
|
|||||||
if field.type=='blob' and not value is None:
|
if field.type=='blob' and not value is None:
|
||||||
value = base64.b64encode(value)
|
value = base64.b64encode(value)
|
||||||
elif represent and field.represent:
|
elif represent and field.represent:
|
||||||
value = field.represent(value)
|
value = field.represent(value,record)
|
||||||
row.append(none_exception(value))
|
row.append(none_exception(value))
|
||||||
writer.writerow(row)
|
writer.writerow(row)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user