diff options
author | Fritz Reichwald <reichwald@b1-systems.de> | 2016-12-28 22:51:20 +0100 |
---|---|---|
committer | Fritz Reichwald <reichwald@b1-systems.de> | 2016-12-28 22:51:20 +0100 |
commit | ae736da5f7c2de2c59989f677e5f00f4032c0442 (patch) | |
tree | b218fd37fef04cf5bd1059789da9d7b50044774f | |
parent | 8c3d461482218a8a08623b5d103d1027dc156100 (diff) | |
download | qutebrowser-ae736da5f7c2de2c59989f677e5f00f4032c0442.tar.gz qutebrowser-ae736da5f7c2de2c59989f677e5f00f4032c0442.zip |
Fix lint
-rw-r--r-- | qutebrowser/utils/jinja.py | 5 | ||||
-rw-r--r-- | 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 = """ </head> <body> <p><span style="font-size:120%;color:red"> - The %FILE% template could not be found!<br> - Please check your qutebrowser installation + The %FILE% template could not be found!<br> + Please check your qutebrowser installation </span><br> %ERROR% </p> @@ -50,6 +50,7 @@ html_fallback = """ </html> """ + 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 |