mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-13 13:17:50 +08:00
Allow None for post_save_hook
See gh-1868
This commit is contained in:
parent
c0928d856e
commit
ee4b9ce598
@ -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