send2trash not work

https://github.com/jupyter/notebook/issues/3130
Now, files not delete on https://hub.docker.com/r/jupyter/base-notebook/ and derived container images.
This commit is contained in:
Masaru Nagaku
2018-05-08 20:16:49 +09:00
committed by GitHub
parent 160eb5183a
commit b81dad5ee8

View File

@@ -12,6 +12,9 @@ c.NotebookApp.ip = '*'
c.NotebookApp.port = 8888
c.NotebookApp.open_browser = False
# https://github.com/jupyter/notebook/issues/3130
c.FileContentsManager.delete_to_trash = False
# Generate a self-signed certificate
if 'GEN_CERT' in os.environ:
dir_name = jupyter_data_dir()