From 876aa5a9b1b7d33c6e6dd662c73ab435fcf074b6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 25 Jun 2018 22:51:55 +0200 Subject: [PATCH] Fix lint --- qutebrowser/browser/shared.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/browser/shared.py b/qutebrowser/browser/shared.py index 01ccab13b..2398ca2e4 100644 --- a/qutebrowser/browser/shared.py +++ b/qutebrowser/browser/shared.py @@ -48,7 +48,8 @@ def custom_headers(url): for header, value in conf_headers.items(): headers[header.encode('ascii')] = value.encode('ascii') - accept_language = config.instance.get('content.headers.accept_language', url=url) + accept_language = config.instance.get('content.headers.accept_language', + url=url) if accept_language is not None: headers[b'Accept-Language'] = accept_language.encode('ascii')