1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-22 08:56:17 +00:00

fix get_entity()

This commit is contained in:
mvn23 2019-10-01 11:15:25 +02:00
parent 1f8f3326e8
commit 62fa440cfa

View File

@ -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]