fixed Issue 1520:incomplete fix for json and csv import

This commit is contained in:
mdipierro
2013-06-09 16:43:49 -05:00
parent 484b8e5cc9
commit bf3770dc98
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.5.1-stable+timestamp.2013.06.09.16.41.01
Version 2.5.1-stable+timestamp.2013.06.09.16.43.01
-6
View File
@@ -8675,12 +8675,6 @@ class Table(object):
value = None
elif field.type=='blob':
value = base64.b64decode(value)
elif field.type=='json':
try:
json = serializers.json
value = json(value)
except TypeError:
pass
elif field.type=='double' or field.type=='float':
if not value.strip():
value = None