mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 13:07:09 +01:00
acousticbrainz: remove redundant comments
This commit is contained in:
parent
7a676400dc
commit
3979619f9f
1 changed files with 0 additions and 2 deletions
|
|
@ -159,14 +159,12 @@ class AcousticPlugin(plugins.BeetsPlugin):
|
|||
self._log.info(u'getting data for: {}', item)
|
||||
data = self._get_data(item.mb_trackid)
|
||||
if data:
|
||||
# Get each field and assign it on the item.
|
||||
for attr, val in self._map_dict_to_scheme(data, ABSCHEME):
|
||||
self._log.debug(u'attribute {} of {} set to {}',
|
||||
attr,
|
||||
item,
|
||||
val)
|
||||
setattr(item, attr, val)
|
||||
# Store the data.
|
||||
item.store()
|
||||
if write:
|
||||
item.try_write()
|
||||
|
|
|
|||
Loading…
Reference in a new issue