mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 08:12:27 +00:00
Change params dict structure. #42
This commit is contained in:
parent
7f44f9e85d
commit
7547fc49af
@ -118,11 +118,7 @@ def basic_api(f):
|
|||||||
def api():
|
def api():
|
||||||
phelp = request.params.get('help')
|
phelp = request.params.get('help')
|
||||||
if phelp == "True":
|
if phelp == "True":
|
||||||
dic = {'WEB_PARAMS': WEB_PARAMS,
|
dic = dict(API_PARAMS, **NIF_PARAMS)
|
||||||
'CLI_PARAMS': CLI_PARAMS,
|
|
||||||
'NIF_PARAMS': NIF_PARAMS,
|
|
||||||
'API_PARAMS': API_PARAMS
|
|
||||||
}
|
|
||||||
response = Response(dic)
|
response = Response(dic)
|
||||||
return response
|
return response
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user