This commit is contained in:
Fritz Reichwald 2016-12-28 22:51:20 +01:00
parent 8c3d461482
commit ae736da5f7
2 changed files with 3 additions and 3 deletions

View File

@ -41,8 +41,8 @@ html_fallback = """
</head> </head>
<body> <body>
<p><span style="font-size:120%;color:red"> <p><span style="font-size:120%;color:red">
The %FILE% template could not be found!<br> The %FILE% template could not be found!<br>
Please check your qutebrowser installation Please check your qutebrowser installation
</span><br> </span><br>
%ERROR% %ERROR%
</p> </p>
@ -50,6 +50,7 @@ html_fallback = """
</html> </html>
""" """
class Loader(jinja2.BaseLoader): class Loader(jinja2.BaseLoader):
"""Jinja loader which uses utils.read_file to load templates. """Jinja loader which uses utils.read_file to load templates.

View File

@ -24,7 +24,6 @@ import os.path
import pytest import pytest
import logging import logging
import jinja2
from PyQt5.QtCore import QUrl from PyQt5.QtCore import QUrl
from qutebrowser.utils import utils, jinja from qutebrowser.utils import utils, jinja