Fixed an import error introduced through moving the jinja trycatch extension
(cherry picked from commit 3ea77c7)
This commit is contained in:
parent
162c4f11dd
commit
5126fc1093
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue