mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Remove magic for loading templates from module names
This commit is contained in:
parent
556627a637
commit
4e7972bd64
@ -24,9 +24,10 @@ class PythonExporter(TemplateExporter):
|
||||
"""
|
||||
Exports a Python code file.
|
||||
"""
|
||||
|
||||
file_extension = Unicode(
|
||||
'py', config=True,
|
||||
help="Extension of the file that should be written to disk")
|
||||
def _file_extension_default(self):
|
||||
return 'py'
|
||||
|
||||
def _template_file_default(self):
|
||||
return 'python'
|
||||
|
||||
output_mimetype = 'text/x-python'
|
||||
|
Loading…
Reference in New Issue
Block a user