|
|
|
|
@ -7,11 +7,8 @@ from tornado import web
|
|
|
|
|
from ..base.handlers import IPythonHandler, notebook_path_regex
|
|
|
|
|
from IPython.nbformat.current import to_notebook_json
|
|
|
|
|
|
|
|
|
|
from IPython.utils import tz
|
|
|
|
|
from IPython.utils.py3compat import cast_bytes
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
|
|
def find_resource_files(output_files_dir):
|
|
|
|
|
files = []
|
|
|
|
|
for dirpath, dirnames, filenames in os.walk(output_files_dir):
|
|
|
|
|
@ -137,4 +134,4 @@ default_handlers = [
|
|
|
|
|
(r"/nbconvert/%s%s" % (_format_regex, notebook_path_regex),
|
|
|
|
|
NbconvertFileHandler),
|
|
|
|
|
(r"/nbconvert/%s" % _format_regex, NbconvertPostHandler),
|
|
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
|