X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Fclient.py;h=66894a77a3516faeb3918a76a9943e4451d76825;hb=fe1ed51724531b8c1e78e7d7eb590c9be20e275c;hp=e171c0b1d6c1934d728470e649b06c104e486992;hpb=d71073a0cf4bae0da48270594eb5a0a33abff05f;p=mpd-sima.git diff --git a/sima/client.py b/sima/client.py index e171c0b..66894a7 100644 --- a/sima/client.py +++ b/sima/client.py @@ -206,9 +206,9 @@ class PlayerClient(Player): if artist.mbid: # we already performed a lookup on artists with mbid set # search through remaining artists - artists = self._cache.get('nombid_artists', []) + artists = self._cache.get('nombid_artists') else: - artists = self._cache.get('artists', []) + artists = self._cache.get('artists') match = get_close_matches(artist.name, artists, 50, 0.73) if not match and not found: return