dummy: Fix playlists.get_items() bug

This commit is contained in:
Stein Magnus Jodal 2015-03-24 01:37:30 +01:00
parent 45ce75586e
commit 23e2295c46

View File

@ -105,7 +105,7 @@ class DummyPlaylistsProvider(backend.PlaylistsProvider):
Ref.playlist(uri=pl.uri, name=pl.name) for pl in self._playlists]
def get_items(self, uri):
playlist = self._playlists.get(uri)
playlist = self.lookup(uri)
if playlist is None:
return
return [