[BUGFIX] Fix missing contains function when checking entries
This commit is contained in:
parent
e54bf7d467
commit
894b517447
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ class EntryParent(BaseEntry):
|
||||||
if not playlist_id:
|
if not playlist_id:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return self.uid == playlist_id or any(child.__contains__(item) for child in self.children)
|
return self.uid == playlist_id or any([item in child for child in self.parent_children()])
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _get_disconnected_root_parent(
|
def _get_disconnected_root_parent(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue