Show More
@@ -579,13 +579,8 class NotebookApp(BaseIPythonApplication): | |||
|
579 | 579 | browser = None |
|
580 | 580 | |
|
581 | 581 | if self.file_to_run: |
|
582 |
|
|
|
583 |
|
|
|
584 | if filename == nb['name']: | |
|
585 | url = nb['notebook_id'] | |
|
586 | break | |
|
587 | else: | |
|
588 | url = '' | |
|
582 | name, _ = os.path.splitext(os.path.basename(self.file_to_run)) | |
|
583 | url = self.notebook_manager.rev_mapping.get(name, '') | |
|
589 | 584 | else: |
|
590 | 585 | url = '' |
|
591 | 586 | if browser: |
General Comments 0
You need to be logged in to leave comments.
Login now