Fixed an import error introduced through moving the jinja trycatch extension

(cherry picked from commit 3ea77c7)
This commit is contained in:
Gina Häußge committed 2016-07-06 15:03:43 +02:00
1 parent 162c4f11dd
commit 5126fc1093
1 file changed
+1 -1
+1 -1
View File
@@ -681,7 +681,7 @@ class Server(object):
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)