Show More
@@ -50,6 +50,7 b' class ExecutePreprocessor(Preprocessor):' | |||
|
50 | 50 | def preprocess(self, nb, resources): |
|
51 | 51 | from IPython.kernel import run_kernel |
|
52 | 52 | kernel_name = nb.metadata.get('kernelspec', {}).get('name', 'python') |
|
53 | self.log.info("Executing notebook with kernel: %s" % kernel_name) | |
|
53 | 54 | with run_kernel(kernel_name=kernel_name, |
|
54 | 55 | extra_arguments=self.extra_arguments, |
|
55 | 56 | stderr=open(os.devnull, 'w')) as kc: |
General Comments 0
You need to be logged in to leave comments.
Login now