Show More
@@ -19,6 +19,7 b' Authors:' | |||||
19 | import datetime |
|
19 | import datetime | |
20 | import os |
|
20 | import os | |
21 | import uuid |
|
21 | import uuid | |
|
22 | import glob | |||
22 |
|
23 | |||
23 | from tornado import web |
|
24 | from tornado import web | |
24 |
|
25 | |||
@@ -52,8 +53,6 b' class NotebookManager(LoggingConfigurable):' | |||||
52 |
|
53 | |||
53 | dict(notebook_id=notebook,name=name) |
|
54 | dict(notebook_id=notebook,name=name) | |
54 | """ |
|
55 | """ | |
55 | import glob |
|
|||
56 |
|
||||
57 | names = glob.glob(os.path.join(self.notebook_dir, |
|
56 | names = glob.glob(os.path.join(self.notebook_dir, | |
58 | '*' + self.filename_ext)) |
|
57 | '*' + self.filename_ext)) | |
59 | names = [os.path.splitext(os.path.basename(name))[0] |
|
58 | names = [os.path.splitext(os.path.basename(name))[0] |
General Comments 0
You need to be logged in to leave comments.
Login now