Mercurial > hg > Members > aka > jupyter_CbC_kernel
changeset 50:a98647258349
solve error “traitlets.traitlets.TraitError: FileExtension trait 'file_extension' does not begin with a dot: ‘c’” when exporting to script with nbconvert
author | Davide Bortolami <d@fermiumlabs.com> |
---|---|
date | Sat, 18 Feb 2017 01:56:07 +0100 |
parents | 69fc0b9c02b8 |
children | 9357c3067f20 |
files | jupyter_c_kernel/kernel.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/jupyter_c_kernel/kernel.py Wed Jun 08 11:44:17 2016 +0100 +++ b/jupyter_c_kernel/kernel.py Sat Feb 18 01:56:07 2017 +0100 @@ -72,7 +72,7 @@ language_version = 'C11' language_info = {'name': 'c', 'mimetype': 'text/plain', - 'file_extension': 'c'} + 'file_extension': '.c'} banner = "C kernel.\n" \ "Uses gcc, compiles in C11, and creates source code files and executables in temporary folder.\n"