From ae736da5f7c2de2c59989f677e5f00f4032c0442 Mon Sep 17 00:00:00 2001 From: Fritz Reichwald Date: Wed, 28 Dec 2016 22:51:20 +0100 Subject: [PATCH] Fix lint --- qutebrowser/utils/jinja.py | 5 +++-- tests/unit/utils/test_jinja.py | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qutebrowser/utils/jinja.py b/qutebrowser/utils/jinja.py index 35cfebd19..2ad2be448 100644 --- a/qutebrowser/utils/jinja.py +++ b/qutebrowser/utils/jinja.py @@ -41,8 +41,8 @@ html_fallback = """

- The %FILE% template could not be found!
- Please check your qutebrowser installation + The %FILE% template could not be found!
+ Please check your qutebrowser installation

%ERROR%

@@ -50,6 +50,7 @@ html_fallback = """ """ + class Loader(jinja2.BaseLoader): """Jinja loader which uses utils.read_file to load templates. diff --git a/tests/unit/utils/test_jinja.py b/tests/unit/utils/test_jinja.py index d2f0bb7a6..fc4ce3074 100644 --- a/tests/unit/utils/test_jinja.py +++ b/tests/unit/utils/test_jinja.py @@ -24,7 +24,6 @@ import os.path import pytest import logging -import jinja2 from PyQt5.QtCore import QUrl from qutebrowser.utils import utils, jinja