mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-19 13:20:36 +08:00
Merge pull request #1871 from takluyver/allow-none-post-save-hook
Allow None for post_save_hook
This commit is contained in:
commit
86296f0363
@ -93,7 +93,7 @@ class FileContentsManager(FileManagerMixin, ContentsManager):
|
||||
|
||||
self.post_save_hook = _post_save_script
|
||||
|
||||
post_save_hook = Any(None, config=True,
|
||||
post_save_hook = Any(None, config=True, allow_none=True,
|
||||
help="""Python callable or importstring thereof
|
||||
|
||||
to be called on the path of a file just saved.
|
||||
|
Loading…
x
Reference in New Issue
Block a user