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:
parent
1f8f3326e8
commit
62fa440cfa
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user