mirror of
https://github.com/beetbox/beets.git
synced 2026-01-09 01:15:38 +01:00
fanart.tv: remove overly verbose logging left over from debugging
This commit is contained in:
parent
3a2eb03e0e
commit
4763fec35b
1 changed files with 0 additions and 6 deletions
|
|
@ -216,12 +216,6 @@ class FanartTV(ArtSource):
|
|||
response.text)
|
||||
return
|
||||
|
||||
def escape_for_log(s):
|
||||
# the logger will eventually try to .format() the message, and
|
||||
# interpret the dict as format spec...
|
||||
return ''.join((2 * c if c in '{}' else c for c in s))
|
||||
self._log.debug(escape_for_log(str(data)))
|
||||
|
||||
if u'status' in data and data[u'status'] == u'error':
|
||||
if u'not found' in data[u'error message'].lower():
|
||||
self._log.debug(u'fanart.tv: no image found')
|
||||
|
|
|
|||
Loading…
Reference in a new issue