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