mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
use as_str_seq and fix line length
This commit is contained in:
parent
a2393e48f2
commit
1f45ea00f4
1 changed files with 3 additions and 3 deletions
|
|
@ -165,7 +165,7 @@ class AcousticPlugin(plugins.BeetsPlugin):
|
|||
def _fetch_info(self, items, write, force):
|
||||
"""Fetch additional information from AcousticBrainz for the `item`s.
|
||||
"""
|
||||
tags = self.config['tags'].get()
|
||||
tags = self.config['tags'].as_str_seq()
|
||||
for item in items:
|
||||
# If we're not forcing re-downloading for all tracks, check
|
||||
# whether the data is already present. We use one
|
||||
|
|
@ -192,8 +192,8 @@ class AcousticPlugin(plugins.BeetsPlugin):
|
|||
val)
|
||||
setattr(item, attr, val)
|
||||
else:
|
||||
self._log.debug(u'skipping attribute {} of {} (value {})'
|
||||
u' due to config',
|
||||
self._log.debug(u'skipping attribute {} of {}'
|
||||
u' (value {}) due to config',
|
||||
attr,
|
||||
item,
|
||||
val)
|
||||
|
|
|
|||
Loading…
Reference in a new issue