From 846f4eb7ae5507e05e4a25e357455e040860057e Mon Sep 17 00:00:00 2001 From: Peter Schnebel Date: Wed, 16 Oct 2013 10:33:51 +0200 Subject: [PATCH] fix possible bug --- beetsplug/echoplus.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/beetsplug/echoplus.py b/beetsplug/echoplus.py index 9536eb3c6..14f8946b3 100644 --- a/beetsplug/echoplus.py +++ b/beetsplug/echoplus.py @@ -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