Skip to content

Commit

Permalink
on delete ignore errors
Browse files Browse the repository at this point in the history
  • Loading branch information
giannisdoukas committed Jul 13, 2020
1 parent bc8a686 commit 239cffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cwlkernel/CWLKernel.py
Expand Up @@ -307,7 +307,7 @@ def send_text_to_stdout(self, text: str):
self.send_response(self.iopub_socket, 'stream', {'name': 'stdout', 'text': text})

def __del__(self):
shutil.rmtree(self._session_dir)
shutil.rmtree(self._session_dir, ignore_errors=True)
os.chdir(self._boot_directory.as_posix())


Expand Down

0 comments on commit 239cffe

Please sign in to comment.