Commit 09525b7a by aagusti

n

1 parent f1ee9db7
...@@ -91,8 +91,8 @@ def remove_child(data): ...@@ -91,8 +91,8 @@ def remove_child(data):
for x in d: for x in d:
if x not in field2remove: if x not in field2remove:
res[x] = d[x] res[x] = d[x]
if x == "_cstruct" and d[x] == colander.null: if x == "_cstruct" and not d[x]:
res[x] = None res[x] = ""
resp.append(res) resp.append(res)
return resp return resp
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!