spotify: Fix style
This commit is contained in:
parent
d032891246
commit
111d315d1e
@ -71,13 +71,13 @@ def to_mopidy_playlist(spotify_playlist):
|
||||
if not spotify_playlist.is_loaded():
|
||||
return Playlist(uri=uri, name='[loading...]')
|
||||
name = spotify_playlist.name()
|
||||
tracks=[
|
||||
tracks = [
|
||||
to_mopidy_track(spotify_track)
|
||||
for spotify_track in spotify_playlist
|
||||
if not spotify_track.is_local()
|
||||
]
|
||||
if not name:
|
||||
name = "Starred"
|
||||
name = 'Starred'
|
||||
# Tracks in the Starred playlist are in reverse order from the official
|
||||
# client.
|
||||
tracks.reverse()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user