diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-07-22 07:07:50 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-07-22 07:07:50 +0200 |
commit | 76f872b4df0210ba238434bd8ab3c26e3b3c24ac (patch) | |
tree | 5cf2b25c77be71cb8fdc379d47b6f5e2659591c4 /pyaggr3g470r/views/feed.py | |
parent | Merged in jaesivsm/pyaggr3g470r (pull request #19) (diff) | |
download | newspipe-76f872b4df0210ba238434bd8ab3c26e3b3c24ac.tar.gz newspipe-76f872b4df0210ba238434bd8ab3c26e3b3c24ac.tar.bz2 newspipe-76f872b4df0210ba238434bd8ab3c26e3b3c24ac.zip |
The numver ov values of the splited string is variable (sometimes the charset encoding is present, sometimes not).
Diffstat (limited to 'pyaggr3g470r/views/feed.py')
-rw-r--r-- | pyaggr3g470r/views/feed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views/feed.py b/pyaggr3g470r/views/feed.py index 1a3ad938..fb3ea4c7 100644 --- a/pyaggr3g470r/views/feed.py +++ b/pyaggr3g470r/views/feed.py @@ -208,7 +208,7 @@ def icon(feed_id): if request.headers.get('if-none-match') == etag: return Response(status=304, headers=headers) if '\n' in icon: - content_type, icon = icon.split() + content_type, *_, icon = icon.split() headers['content-type'] = content_type else: headers['content-type'] = 'application/image' |