Show More
@@ -382,7 +382,7 class NotebookApp(BaseIPythonApplication): | |||
|
382 | 382 | static_url_prefix = self.webapp_settings.get("static_url_prefix", |
|
383 | 383 | "/static/") |
|
384 | 384 | try: |
|
385 | filefind(os.path.join('mathjax', 'MathJax.js'), self.static_file_path) | |
|
385 | mathjax = filefind(os.path.join('mathjax', 'MathJax.js'), self.static_file_path) | |
|
386 | 386 | except IOError: |
|
387 | 387 | if self.certfile: |
|
388 | 388 | # HTTPS: load from Rackspace CDN, because SSL certificate requires it |
@@ -394,7 +394,7 class NotebookApp(BaseIPythonApplication): | |||
|
394 | 394 | self.log.info("Using MathJax from CDN: %s", url) |
|
395 | 395 | return url |
|
396 | 396 | else: |
|
397 | self.log.info("Using local MathJax") | |
|
397 | self.log.info("Using local MathJax from %s" % mathjax) | |
|
398 | 398 | return static_url_prefix+u"mathjax/MathJax.js" |
|
399 | 399 | |
|
400 | 400 | def _mathjax_url_changed(self, name, old, new): |
General Comments 0
You need to be logged in to leave comments.
Login now