diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index 0437781b..04c1c526 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -761,11 +761,11 @@ def correctMetadata(albumid, release, downloaded_track_list): logger.warn('No accurate album match found for %s, %s - not writing metadata' % (release['ArtistName'], release['AlbumTitle'])) return - #if candidates: - dist, info, mapping, extra_items, extra_tracks = candidates[0] - #else: - # logger.warn('No accurate album match found for %s, %s - not writing metadata' % (release['ArtistName'], release['AlbumTitle'])) - # return + if candidates: + dist, info, mapping, extra_items, extra_tracks = candidates[0] + else: + logger.warn('No accurate album match found for %s, %s - not writing metadata' % (release['ArtistName'], release['AlbumTitle'])) + return logger.info('Beets recommendation for tagging items: %s' % rec)