Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
7547fc49
Commit
7547fc49
authored
Jul 14, 2017
by
militarpancho
Browse files
Change params dict structure.
#42
parent
7f44f9e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
senpy/blueprints.py
View file @
7547fc49
...
...
@@ -118,11 +118,7 @@ def basic_api(f):
def
api
():
phelp
=
request
.
params
.
get
(
'help'
)
if
phelp
==
"True"
:
dic
=
{
'WEB_PARAMS'
:
WEB_PARAMS
,
'CLI_PARAMS'
:
CLI_PARAMS
,
'NIF_PARAMS'
:
NIF_PARAMS
,
'API_PARAMS'
:
API_PARAMS
}
dic
=
dict
(
API_PARAMS
,
**
NIF_PARAMS
)
response
=
Response
(
dic
)
return
response
else
:
...
...
Write
Preview
Supports
Markdown
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