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