fix created timestamp in notebook model

This commit is contained in:
MinRK 2013-10-20 14:08:47 -07:00
parent f894dbe664
commit cc08837111

View File

@ -211,7 +211,7 @@ class FileNotebookManager(NotebookManager):
model['name'] = name model['name'] = name
model['path'] = path model['path'] = path
model['last_modified'] = last_modified model['last_modified'] = last_modified
model['created'] = last_modified model['created'] = created
if content is True: if content is True:
with io.open(os_path, 'r', encoding='utf-8') as f: with io.open(os_path, 'r', encoding='utf-8') as f:
try: try: