Show More
@@ -380,19 +380,6 class NamedNotebookHandler(IPythonHandler): | |||||
380 | ) |
|
380 | ) | |
381 |
|
381 | |||
382 |
|
382 | |||
383 | class PrintNotebookHandler(IPythonHandler): |
|
|||
384 |
|
||||
385 | @authenticate_unless_readonly |
|
|||
386 | def get(self, notebook_id): |
|
|||
387 | if not self.notebook_manager.notebook_exists(notebook_id): |
|
|||
388 | raise web.HTTPError(404, u'Notebook does not exist: %s' % notebook_id) |
|
|||
389 | self.write( self.render_template('printnotebook.html', |
|
|||
390 | project=self.project, |
|
|||
391 | notebook_id=notebook_id, |
|
|||
392 | kill_kernel=False, |
|
|||
393 | mathjax_url=self.mathjax_url, |
|
|||
394 | )) |
|
|||
395 |
|
||||
396 | #----------------------------------------------------------------------------- |
|
383 | #----------------------------------------------------------------------------- | |
397 | # Kernel handlers |
|
384 | # Kernel handlers | |
398 | #----------------------------------------------------------------------------- |
|
385 | #----------------------------------------------------------------------------- |
General Comments 0
You need to be logged in to leave comments.
Login now