Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
encyclopedia-physics-engine
Commits
ebf8b726
Commit
ebf8b726
authored
Nov 30, 2018
by
Markus Scheidgen
Browse files
Merge branch 'hotfix' into 'master'
Let API deal with empty json quantities. See merge request
!1
parents
dfadeb45
b39e8304
Changes
1
Hide whitespace changes
Inline
Side-by-side
rest-api-service/app/dmss.py
View file @
ebf8b726
...
...
@@ -22,7 +22,10 @@ _default_per_page = 25
# transforms
def
json_str
(
value
):
return
json
.
loads
(
value
)
if
value
is
None
or
value
==
''
:
return
None
else
:
return
json
.
loads
(
value
)
def
int_id
(
value
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment