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

Commit

Permalink
Merge 1162a30 into 28f471c
Browse files Browse the repository at this point in the history
  • Loading branch information
golobodo committed May 31, 2015
2 parents 28f471c + 1162a30 commit 40a5dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mopidy_gmusic/library.py
Expand Up @@ -207,7 +207,7 @@ def _lookup_album(self, uri):
except KeyError:
logger.debug('Failed to lookup %r', uri)
return []
tracks = self.find_exact(
tracks = self._find_exact(
dict(album=album.name,
artist=[artist.name for artist in album.artists],
date=album.date)).tracks
Expand Down Expand Up @@ -271,7 +271,7 @@ def _lookup_artist(self, uri, exact_match=False):
logger.debug('Failed to lookup %r', uri)
return []

tracks = self.find_exact(
tracks = self._find_exact(
dict(artist=artist.name)).tracks
if exact_match:
tracks = filter(lambda t: artist in t.artists, tracks)
Expand Down

0 comments on commit 40a5dd3

Please sign in to comment.