21
21
template_path=os.path.join(os.path.dirname(__file__), "templates"),
22
22
static_path=os.path.join(os.path.dirname(__file__), "static"),
24
24
if os.path.exists(os.path.join(static_path, 'mathjax', "MathJax.js")):
25
25
self.log.info("Using local MathJax")
27
27
+ elif os.path.exists("/usr/share/javascript/mathjax/MathJax.js"):
28
28
+ self.log.info("Using system MathJax")