mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 00:02:28 +00:00
Oups
This commit is contained in:
parent
02739ece39
commit
ad326f4686
@ -58,7 +58,7 @@ def get_params(req):
|
|||||||
indict = None
|
indict = None
|
||||||
if req.method == 'POST':
|
if req.method == 'POST':
|
||||||
indict = req.form
|
indict = req.form
|
||||||
if req.method == 'GET':
|
elif req.method == 'GET':
|
||||||
indict = req.args
|
indict = req.args
|
||||||
else:
|
else:
|
||||||
raise ValueError("Invalid data")
|
raise ValueError("Invalid data")
|
||||||
|
Loading…
Reference in New Issue
Block a user