From 04dddc2475a0dea8b579237c0ff77b382dd9a118 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 13 Jan 2017 18:25:34 +0100 Subject: [PATCH] Fix backslash escape --- qutebrowser/utils/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/utils/log.py b/qutebrowser/utils/log.py index 91593e569..d96eca9a3 100644 --- a/qutebrowser/utils/log.py +++ b/qutebrowser/utils/log.py @@ -209,7 +209,7 @@ def _init_py_warnings(): category=DeprecationWarning, message='Flags not at the start of the expression') # https://github.com/pallets/jinja/issues/646 - warnings.filterwarnings('ignore', module='jinja2\..*', + warnings.filterwarnings('ignore', module=r'jinja2\..*', category=DeprecationWarning, message='invalid escape sequence') # https://bitbucket.org/fdik/pypeg/commits/dd15ca462b532019c0a3be1d39b8ee2f3fa32f4e