##// END OF EJS Templates
Fix a bug in renaming notebook...
Takafumi Arakaki -
Show More
@@ -228,6 +228,7 b' class NotebookManager(LoggingConfigurable):'
228 os.unlink(old_pypath)
228 os.unlink(old_pypath)
229 self.mapping[notebook_id] = new_name
229 self.mapping[notebook_id] = new_name
230 self.rev_mapping[new_name] = notebook_id
230 self.rev_mapping[new_name] = notebook_id
231 del self.rev_mapping[old_name]
231
232
232 def delete_notebook(self, notebook_id):
233 def delete_notebook(self, notebook_id):
233 """Delete notebook by notebook_id."""
234 """Delete notebook by notebook_id."""
General Comments 0
You need to be logged in to leave comments. Login now