Show More
@@ -303,7 +303,7 b' class FileContentsManager(ContentsManager):' | |||||
303 | nb['metadata']['name'] = u'' |
|
303 | nb['metadata']['name'] = u'' | |
304 |
|
304 | |||
305 | with atomic_writing(os_path, encoding='utf-8') as f: |
|
305 | with atomic_writing(os_path, encoding='utf-8') as f: | |
306 |
current.write(nb, f, |
|
306 | current.write(nb, f, version=nb.nbformat) | |
307 |
|
307 | |||
308 | def _save_file(self, os_path, model, name='', path=''): |
|
308 | def _save_file(self, os_path, model, name='', path=''): | |
309 | """save a non-notebook file""" |
|
309 | """save a non-notebook file""" |
General Comments 0
You need to be logged in to leave comments.
Login now