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