mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 12:24:40 +08:00
22 lines
1.6 KiB
Diff
22 lines
1.6 KiB
Diff
|
--- sagenb/flask_version/base.py.orig 2015-01-06 19:30:34.326174783 +0100
|
||
|
+++ sagenb/flask_version/base.py 2015-01-06 19:31:08.439723240 +0100
|
||
|
@@ -36,12 +36,12 @@
|
||
|
self.add_static_path('/javascript', DATA)
|
||
|
self.add_static_path('/static', DATA)
|
||
|
self.add_static_path('/java', DATA)
|
||
|
- self.add_static_path('/java/jmol', os.path.join(os.environ["SAGE_ROOT"],"local","share","jmol"))
|
||
|
- self.add_static_path('/jsmol', os.path.join(os.environ["SAGE_ROOT"],"local","share","jsmol"))
|
||
|
- self.add_static_path('/jsmol/js', os.path.join(os.environ["SAGE_ROOT"],"local","share","jsmol","js"))
|
||
|
- self.add_static_path('/j2s', os.path.join(os.environ["SAGE_ROOT"],"local","share","jsmol","j2s"))
|
||
|
- self.add_static_path('/jsmol/j2s', os.path.join(os.environ["SAGE_ROOT"],"local","share","jsmol","j2s"))
|
||
|
- self.add_static_path('/j2s/core', os.path.join(os.environ["SAGE_ROOT"],"local","share","jsmol","j2s","core"))
|
||
|
+ self.add_static_path('/java/jmol', os.path.join(os.environ["SAGE_ROOT"],"share","jmol"))
|
||
|
+ self.add_static_path('/jsmol', os.path.join(os.environ["SAGE_ROOT"],"share","jsmol"))
|
||
|
+ self.add_static_path('/jsmol/js', os.path.join(os.environ["SAGE_ROOT"],"share","jsmol","js"))
|
||
|
+ self.add_static_path('/j2s', os.path.join(os.environ["SAGE_ROOT"],"share","jsmol","j2s"))
|
||
|
+ self.add_static_path('/jsmol/j2s', os.path.join(os.environ["SAGE_ROOT"],"share","jsmol","j2s"))
|
||
|
+ self.add_static_path('/j2s/core', os.path.join(os.environ["SAGE_ROOT"],"share","jsmol","j2s","core"))
|
||
|
import mimetypes
|
||
|
mimetypes.add_type('text/plain','.jmol')
|
||
|
|