Skip to content
Browse files

Fixing bug in new metadata implementation.

  • Loading branch information...
1 parent b1af148 commit bc7865ee6d01cdc328fe97a8eda9af858099e9c2 @ellisonbg ellisonbg committed Aug 19, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 IPython/frontend/html/notebook/notebookmanager.py
View
3 IPython/frontend/html/notebook/notebookmanager.py
@@ -211,7 +211,8 @@ def new_notebook(self):
else:
i = i+1
notebook_id = self.new_notebook_id(name)
- nb = current.new_notebook(name=name)
+ metadata = current.new_metadata(name=name)
+ nb = current.new_notebook(metadata=metadata)
with open(path,'w') as f:
current.write(nb, f, u'json')
return notebook_id

0 comments on commit bc7865e

Please sign in to comment.
Something went wrong with that request. Please try again.