dummy: Fix playlists.get_items() bug
This commit is contained in:
parent
45ce75586e
commit
23e2295c46
@ -105,7 +105,7 @@ class DummyPlaylistsProvider(backend.PlaylistsProvider):
|
|||||||
Ref.playlist(uri=pl.uri, name=pl.name) for pl in self._playlists]
|
Ref.playlist(uri=pl.uri, name=pl.name) for pl in self._playlists]
|
||||||
|
|
||||||
def get_items(self, uri):
|
def get_items(self, uri):
|
||||||
playlist = self._playlists.get(uri)
|
playlist = self.lookup(uri)
|
||||||
if playlist is None:
|
if playlist is None:
|
||||||
return
|
return
|
||||||
return [
|
return [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user