mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
propagate raw_mimetype to nbconvert
This commit is contained in:
parent
c27710842d
commit
26797b24ce
@ -29,9 +29,6 @@ class PythonExporter(TemplateExporter):
|
||||
'py', config=True,
|
||||
help="Extension of the file that should be written to disk")
|
||||
|
||||
def _raw_format_default(self):
|
||||
return 'python'
|
||||
|
||||
def _raw_formats_default(self):
|
||||
return ['py', 'python']
|
||||
def _raw_mimetype_default(self):
|
||||
return 'application/x-python'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user