Show More
@@ -141,7 +141,10 b' class ProfileDir(LoggingConfigurable):' | |||
|
141 | 141 | self._mkdir(self.static_dir) |
|
142 | 142 | custom = os.path.join(self.static_dir, 'custom') |
|
143 | 143 | self._mkdir(custom) |
|
144 | from IPython.html import DEFAULT_STATIC_FILES_PATH | |
|
144 | try: | |
|
145 | from jupyter_notebook import DEFAULT_STATIC_FILES_PATH | |
|
146 | except ImportError: | |
|
147 | return | |
|
145 | 148 | for fname in ('custom.js', 'custom.css'): |
|
146 | 149 | src = os.path.join(DEFAULT_STATIC_FILES_PATH, 'custom', fname) |
|
147 | 150 | dest = os.path.join(custom, fname) |
General Comments 0
You need to be logged in to leave comments.
Login now