Appease flake8

This commit is contained in:
Rahul Ahuja 2019-10-03 19:13:40 -07:00
parent a1885a571b
commit 14b8f30ead
3 changed files with 6 additions and 3 deletions

View file

@ -726,4 +726,3 @@ class MetadataSourcePlugin(object):
return get_distance(
data_source=self.data_source, info=track_info, config=self.config
)

View file

@ -461,7 +461,9 @@ class BeatportPlugin(BeetsPlugin):
"""Returns an artist string (all artists) and an artist_id (the main
artist) for a list of Beatport release or track artists.
"""
return MetadataSourcePlugin.get_artist(artists=artists, id_key=0, name_key=1)
return MetadataSourcePlugin.get_artist(
artists=artists, id_key=0, name_key=1
)
def _get_tracks(self, query):
"""Returns a list of TrackInfo objects for a Beatport query.

View file

@ -162,7 +162,9 @@ class MBSyncPlugin(BeetsPlugin):
changed |= item_changed
if item_changed:
any_changed_item = item
library.apply_item_changes(lib, item, move, pretend, write)
library.apply_item_changes(
lib, item, move, pretend, write
)
if not changed:
# No change to any item.