##// END OF EJS Templates
added "last_modified" to notebook_model
Zachary Sailer -
Show More
@@ -114,7 +114,8 b' class NotebookManager(LoggingConfigurable):'
114 last_modified, content = self.read_notebook_object(notebook_name, notebook_path)
114 last_modified, content = self.read_notebook_object(notebook_name, notebook_path)
115 model = {"notebook_name": notebook_name,
115 model = {"notebook_name": notebook_name,
116 "notebook_path": notebook_path,
116 "notebook_path": notebook_path,
117 "content": content}
117 "content": content,
118 "last_modified": last_modified.ctime()}
118 return model
119 return model
119
120
120 def get_notebook(self, notebook_name, notebook_path=None, format=u'json'):
121 def get_notebook(self, notebook_name, notebook_path=None, format=u'json'):
General Comments 0
You need to be logged in to leave comments. Login now