From b81dad5ee8b0ec3bd2c17a2fd9b661ca2d4b6a47 Mon Sep 17 00:00:00 2001 From: Masaru Nagaku Date: Tue, 8 May 2018 20:16:49 +0900 Subject: [PATCH] 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. --- base-notebook/jupyter_notebook_config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base-notebook/jupyter_notebook_config.py b/base-notebook/jupyter_notebook_config.py index d55cfab1..ef9c24b0 100644 --- a/base-notebook/jupyter_notebook_config.py +++ b/base-notebook/jupyter_notebook_config.py @@ -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()