mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 20:43:41 +01:00
fixing per review comments
This commit is contained in:
parent
2c49c12166
commit
f0c91b8f45
2 changed files with 1 additions and 2 deletions
|
|
@ -306,7 +306,7 @@ class DiscogsPlugin(BeetsPlugin):
|
|||
style = result.data.get('styles')
|
||||
if style is None:
|
||||
self._log.debug('Style not Found')
|
||||
elif len(style) == 0:
|
||||
elif not style:
|
||||
return style
|
||||
else:
|
||||
style = self.config['separator'].as_str().join(sorted(style))
|
||||
|
|
|
|||
|
|
@ -84,7 +84,6 @@ class DGAlbumInfoTest(_common.TestCase):
|
|||
tracklist where tracks have the specified `positions`."""
|
||||
tracks = [self._make_track('TITLE%s' % i, position) for
|
||||
(i, position) in enumerate(positions, start=1)]
|
||||
release = self._make_release(tracks)
|
||||
return self._make_release(tracks)
|
||||
|
||||
def test_parse_media_for_tracks(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue