Show More
@@ -69,8 +69,8 b' class NotebookRedirectHandler(IPythonHandler):' | |||||
69 | # so it should work until both are cleaned up. |
|
69 | # so it should work until both are cleaned up. | |
70 | parts = path.split('/') |
|
70 | parts = path.split('/') | |
71 | files_path = os.path.join(nbm.notebook_dir, *parts) |
|
71 | files_path = os.path.join(nbm.notebook_dir, *parts) | |
72 | self.log.warn("filespath: %s", files_path) |
|
|||
73 | if not os.path.exists(files_path): |
|
72 | if not os.path.exists(files_path): | |
|
73 | self.log.warn("Deprecated files/ URL: %s", path) | |||
74 | path = path.replace('/files/', '/', 1) |
|
74 | path = path.replace('/files/', '/', 1) | |
75 |
|
75 | |||
76 | url = url_path_join(self.base_url, 'files', path) |
|
76 | url = url_path_join(self.base_url, 'files', path) |
General Comments 0
You need to be logged in to leave comments.
Login now