Show More
@@ -2788,7 +2788,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
2788 |
|
2788 | |||
2789 | def get_cells(): |
|
2789 | def get_cells(): | |
2790 | """generator for sequence of code blocks to run""" |
|
2790 | """generator for sequence of code blocks to run""" | |
2791 |
if fname.suffix == |
|
2791 | if fname.suffix == ".ipynb": | |
2792 | from nbformat import read |
|
2792 | from nbformat import read | |
2793 | nb = read(fname, as_version=4) |
|
2793 | nb = read(fname, as_version=4) | |
2794 | if not nb.cells: |
|
2794 | if not nb.cells: |
General Comments 0
You need to be logged in to leave comments.
Login now