diff --git a/nif_server.py b/nif_server.py index af9c5eb..4f0e65b 100644 --- a/nif_server.py +++ b/nif_server.py @@ -58,7 +58,7 @@ def get_params(req): indict = None if req.method == 'POST': indict = req.form - if req.method == 'GET': + elif req.method == 'GET': indict = req.args else: raise ValueError("Invalid data")