1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 00:02:28 +00:00
This commit is contained in:
J. Fernando Sánchez 2014-07-13 16:38:13 +02:00
parent 02739ece39
commit ad326f4686

View File

@ -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")