Skip to content

Commit ac88878

Browse files
committed
Try to fix previous commit
1 parent d355253 commit ac88878

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

scripts/automated-notebook-run-script.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,11 @@ def run_notebook(driver, notebook_area, args):
126126
time.sleep(0.1)
127127
if not cell_is_waiting_for_input(driver):
128128
wait_for_idle_status(driver, current_cell, start_time, args.timeout)
129-
130-
131-
next_cell = current_cell.find_elements(
132-
By.XPATH,
133-
"following-sibling::div[contains(@class,'jp-Notebook-cell')][1]"
134-
)
135-
current_cell = next_cell[0]
129+
next_cell = current_cell.find_elements(
130+
By.XPATH,
131+
"following-sibling::div[contains(@class,'jp-Notebook-cell')][1]"
132+
)
133+
current_cell = next_cell[0]
136134

137135
def download_notebook(driver):
138136
"""This function is used to download the notebook currently open."""

0 commit comments

Comments
 (0)