Fixed an import error introduced through moving the jinja trycatch extension
This commit is contained in:
parent
91ade13ded
commit
3ea77c76ef
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue