mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 03:22:39 +01:00
fetchart: do not unnecessarily reset Candidate.path on download failure
This commit is contained in:
parent
697291b04e
commit
5d00ca8bda
1 changed files with 0 additions and 2 deletions
|
|
@ -259,7 +259,6 @@ class RemoteArtSource(ArtSource):
|
|||
if real_ct not in CONTENT_TYPES:
|
||||
self._log.debug(u'not a supported image: {}',
|
||||
real_ct or u'unknown content type')
|
||||
candidate.path = None
|
||||
return
|
||||
|
||||
ext = b'.' + CONTENT_TYPES[real_ct][0]
|
||||
|
|
@ -285,7 +284,6 @@ class RemoteArtSource(ArtSource):
|
|||
# Handling TypeError works around a urllib3 bug:
|
||||
# https://github.com/shazow/urllib3/issues/556
|
||||
self._log.debug(u'error fetching art: {}', exc)
|
||||
candidate.path = None
|
||||
return
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue