File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -437,6 +437,8 @@ def _fetch_image(self, url):
437
437
util .displayable_path (fh .name ))
438
438
return fh .name
439
439
except (IOError , requests .RequestException , TypeError ):
440
+ # Handling TypeError works around a urllib3 bug:
441
+ # https://github.com/shazow/urllib3/issues/556
440
442
self ._log .debug (u'error fetching art' )
441
443
442
444
def _is_valid_image_candidate (self , candidate ):
Original file line number Diff line number Diff line change 83
83
plugin-provided ones. This distinction was becoming increasingly unreliable.
84
84
* :doc: `/plugins/duplicates `: Fix a Unicode warning when paths contained
85
85
non-ASCII characters. :bug: `1551 `
86
+ * :doc: `/plugins/fetchart `: Work around a urllib3 bug that could cause a
87
+ crash. :bug: `1555 ` :bug: `1556 `
86
88
87
89
.. _Python bug : http://bugs.python.org/issue16512
88
90
You can’t perform that action at this time.
0 commit comments