mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-13 13:17:50 +08:00
Merge pull request #923 from anirudhjoshi/master
Fixed missing import of to_api_path in post_save_hook example
This commit is contained in:
commit
9bd4a49cf6
@ -45,7 +45,8 @@ A post-save hook to make a script equivalent whenever the notebook is saved
|
||||
|
||||
import io
|
||||
import os
|
||||
|
||||
from notebook.utils import to_api_path
|
||||
|
||||
_script_exporter = None
|
||||
|
||||
def script_post_save(model, os_path, contents_manager, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user