Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-tools
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 09525b7a
authored
Aug 02, 2022
by
aagusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
n
1 parent
f1ee9db7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
opensipkd/tools/form_api.py
opensipkd/tools/form_api.py
View file @
09525b7
...
...
@@ -91,8 +91,8 @@ def remove_child(data):
for
x
in
d
:
if
x
not
in
field2remove
:
res
[
x
]
=
d
[
x
]
if
x
==
"_cstruct"
and
d
[
x
]
==
colander
.
null
:
res
[
x
]
=
None
if
x
==
"_cstruct"
and
not
d
[
x
]
:
res
[
x
]
=
""
resp
.
append
(
res
)
return
resp
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment