Skip to content

Commit

Permalink
Merge pull request #2 from netrik/spotify.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzeman committed Aug 3, 2014
2 parents 7b42e3e + a1ffe3c commit 2e00554
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spotify/objects/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def find_alternative(self):
for alternative in self.alternatives:
if alternative.is_available():
break
else:
alternative = None

if alternative is None:
log.debug('Unable to find alternative for "%s"', self.uri)
Expand Down

0 comments on commit 2e00554

Please sign in to comment.