Skip to content

Commit

Permalink
Documentation for #1555/#1556
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Aug 1, 2015
1 parent 4818264 commit 96c5121
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beetsplug/fetchart.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ def _fetch_image(self, url):
util.displayable_path(fh.name))
return fh.name
except (IOError, requests.RequestException, TypeError):
# Handling TypeError works around a urllib3 bug:
# https://github.com/shazow/urllib3/issues/556
self._log.debug(u'error fetching art')

def _is_valid_image_candidate(self, candidate):
Expand Down
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ Fixes:
plugin-provided ones. This distinction was becoming increasingly unreliable.
* :doc:`/plugins/duplicates`: Fix a Unicode warning when paths contained
non-ASCII characters. :bug:`1551`
* :doc:`/plugins/fetchart`: Work around a urllib3 bug that could cause a
crash. :bug:`1555` :bug:`1556`

.. _Python bug: http://bugs.python.org/issue16512

Expand Down

0 comments on commit 96c5121

Please sign in to comment.