Remove undocumented return from core.stored_playlists.delete() (#217)
This commit is contained in:
parent
58c190f12b
commit
078cc72fff
@ -57,9 +57,9 @@ class StoredPlaylistsController(object):
|
|||||||
:type uri: string
|
:type uri: string
|
||||||
"""
|
"""
|
||||||
uri_scheme = urlparse.urlparse(uri).scheme
|
uri_scheme = urlparse.urlparse(uri).scheme
|
||||||
backend = self.backends.by_uri_scheme.get(uri_scheme, None)
|
if uri_scheme in self.backends.by_uri_scheme:
|
||||||
if backend:
|
backend = self.backends.by_uri_scheme[uri_scheme]
|
||||||
return backend.stored_playlists.delete(uri).get()
|
backend.stored_playlists.delete(uri).get()
|
||||||
|
|
||||||
def get(self, **criteria):
|
def get(self, **criteria):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user