mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
fix possible bug
This commit is contained in:
parent
9b8ad7dcd1
commit
846f4eb7ae
1 changed files with 1 additions and 3 deletions
|
|
@ -58,9 +58,7 @@ def apply_style(style, custom, value):
|
|||
cut += inc
|
||||
if value < cut:
|
||||
return mapping[i]
|
||||
log.error(loglevel, u'Failed to apply style: {} [{}]'.format(style,
|
||||
u', '.join(mapping)))
|
||||
return value
|
||||
return mapping[i]
|
||||
|
||||
def fetch_item_attributes(lib, loglevel, item, write):
|
||||
"""Fetch and store tempo for a single item. If ``write``, then the
|
||||
|
|
|
|||
Loading…
Reference in a new issue