Show More
@@ -211,7 +211,8 b' class NotebookManager(LoggingConfigurable):' | |||
|
211 | 211 | else: |
|
212 | 212 | i = i+1 |
|
213 | 213 | notebook_id = self.new_notebook_id(name) |
|
214 |
|
|
|
214 | metadata = current.new_metadata(name=name) | |
|
215 | nb = current.new_notebook(metadata=metadata) | |
|
215 | 216 | with open(path,'w') as f: |
|
216 | 217 | current.write(nb, f, u'json') |
|
217 | 218 | return notebook_id |
General Comments 0
You need to be logged in to leave comments.
Login now