Show More
@@ -2506,8 +2506,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
2506 | """generator for sequence of code blocks to run""" |
|
2506 | """generator for sequence of code blocks to run""" | |
2507 | if fname.endswith('.ipynb'): |
|
2507 | if fname.endswith('.ipynb'): | |
2508 | from nbformat import read |
|
2508 | from nbformat import read | |
2509 |
|
|
2509 | nb = read(fname, as_version=4) | |
2510 | nb = read(f, as_version=4) |
|
|||
2511 |
|
|
2510 | if not nb.cells: | |
2512 |
|
|
2511 | return | |
2513 |
|
|
2512 | for cell in nb.cells: |
General Comments 0
You need to be logged in to leave comments.
Login now