From 3ea77c76ef843aa2b8794da165586e63b3fa205a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 20 Nov 2015 11:46:28 +0100 Subject: [PATCH] Fixed an import error introduced through moving the jinja trycatch extension --- src/octoprint/server/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index 9519e0a0..7fe3f2fd 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -581,7 +581,7 @@ class Server(): import re app.jinja_env.add_extension("jinja2.ext.do") - app.jinja_env.add_extension("octoprint.server.util.jinja.trycatch") + app.jinja_env.add_extension("octoprint.util.jinja.trycatch") def regex_replace(s, find, replace): return re.sub(find, replace, s)