From 62fa440cfaecd7d38a51744c452225f9e75f56e9 Mon Sep 17 00:00:00 2001 From: mvn23 Date: Tue, 1 Oct 2019 11:15:25 +0200 Subject: [PATCH] fix get_entity() --- 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 972ccf3..ecc419c 100644 --- a/supysonic/api/__init__.py +++ b/supysonic/api/__init__.py @@ -82,7 +82,7 @@ def get_client_prefs(): def get_entity(cls, param="id"): - eid = get_entity_id(request.values[param]) + eid = get_entity_id(cls, request.values[param]) if eid is None: return entity = cls[eid]