From ef64db46d1f838a2ebbf096632b525b299c82642 Mon Sep 17 00:00:00 2001 From: hhm Date: Wed, 24 Aug 2016 02:21:11 -0400 Subject: [PATCH] B"H api: use GET and POST values in get_entity helper --- supysonic/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supysonic/api/__init__.py b/supysonic/api/__init__.py index f2060f3..994b8b1 100644 --- a/supysonic/api/__init__.py +++ b/supysonic/api/__init__.py @@ -177,7 +177,7 @@ class ResponseHelper: return str(value) def get_entity(req, ent, param = 'id'): - eid = req.args.get(param) + eid = req.values.get(param) if not eid: return False, req.error_formatter(10, 'Missing %s id' % ent.__name__)