mirror of
https://github.com/gsi-upm/senpy
synced 2024-12-22 13:08:13 +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():
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user