From 2f34bdf9b99db9cd683fe445409c5ba9f04e1a43 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Tue, 24 Nov 2015 14:21:38 +0100 Subject: [PATCH] Add link to pylint bug --- qutebrowser/browser/webpage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/webpage.py b/qutebrowser/browser/webpage.py index 137131c1f..4d705ea6c 100644 --- a/qutebrowser/browser/webpage.py +++ b/qutebrowser/browser/webpage.py @@ -224,7 +224,7 @@ class BrowserPage(QWebPage): page = pdfjs.generate_pdfjs_page(reply.url()).encode('utf-8') except pdfjs.PDFJSNotFound: # pylint: disable=no-member - # Instance of 'str' has no 'render' member (no-member) + # WORKAROUND for https://bitbucket.org/logilab/pylint/issue/490/ page = (jinja.env.get_template('no_pdfjs.html') .render(url=reply.url().toDisplayString()) .encode('utf-8'))