mirror of
https://github.com/beetbox/beets.git
synced 2026-12-01 06:58:00 -06:00
Merge pull request #3195 from arcresu/patch-1
the: log a debug only when text is changed
This commit is contained in:
+1
-1
@@ -93,8 +93,8 @@ class ThePlugin(BeetsPlugin):
|
||||
for p in self.patterns:
|
||||
r = self.unthe(text, p)
|
||||
if r != text:
|
||||
self._log.debug(u'\"{0}\" -> \"{1}\"', text, r)
|
||||
break
|
||||
self._log.debug(u'\"{0}\" -> \"{1}\"', text, r)
|
||||
return r
|
||||
else:
|
||||
return u''
|
||||
|
||||
Reference in New Issue
Block a user