Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
Fix flake8 linting
Browse files Browse the repository at this point in the history
  • Loading branch information
belak committed Mar 31, 2017
1 parent 06326c7 commit 81650a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mopidy_gmusic/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,9 @@ def _lookup_album(self, uri):
for track in album['tracks']]
for track in tracks:
self.aa_tracks[track.uri] = track
self.aa_albums[uri] = sorted(tracks, key=lambda t: (t.disc_no, t.track_no))
return self.aa_albums[uri]
tracks = sorted(tracks, key=lambda t: (t.disc_no, t.track_no))
self.aa_albums[uri] = tracks
return tracks

logger.warning('Failed to lookup all access album %r: %r',
uri, album)
Expand Down

0 comments on commit 81650a9

Please sign in to comment.