Show More
@@ -2568,7 +2568,8 b' class InteractiveShell(SingletonConfigurable):' | |||
|
2568 | 2568 | if not nb.worksheets: |
|
2569 | 2569 | return |
|
2570 | 2570 | for cell in nb.worksheets[0].cells: |
|
2571 |
|
|
|
2571 | if cell.cell_type == 'code': | |
|
2572 | yield cell.input | |
|
2572 | 2573 | else: |
|
2573 | 2574 | with open(fname) as f: |
|
2574 | 2575 | yield f.read() |
General Comments 0
You need to be logged in to leave comments.
Login now