Skip to content

Commit 1f45ea0

Browse files
committed
use as_str_seq and fix line length
1 parent a2393e4 commit 1f45ea0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

beetsplug/acousticbrainz.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def _get_data(self, mbid):
165165
def _fetch_info(self, items, write, force):
166166
"""Fetch additional information from AcousticBrainz for the `item`s.
167167
"""
168-
tags = self.config['tags'].get()
168+
tags = self.config['tags'].as_str_seq()
169169
for item in items:
170170
# If we're not forcing re-downloading for all tracks, check
171171
# whether the data is already present. We use one
@@ -192,8 +192,8 @@ def _fetch_info(self, items, write, force):
192192
val)
193193
setattr(item, attr, val)
194194
else:
195-
self._log.debug(u'skipping attribute {} of {} (value {})'
196-
u' due to config',
195+
self._log.debug(u'skipping attribute {} of {}'
196+
u' (value {}) due to config',
197197
attr,
198198
item,
199199
val)

0 commit comments

Comments
 (0)