Skip to content

Commit 7fc43de

Browse files
committed
Fixed bug where Run_experiment_tab.abort_experiment failed if called due to failure to connect to board.
1 parent 2185fc2 commit 7fc43de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/run_experiment_tab.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def abort_experiment(self):
309309
self.GUI_main.refresh_timer.start(self.GUI_main.refresh_interval)
310310
for i, board in enumerate(self.boards):
311311
# Stop running boards.
312-
if board.framework_running:
312+
if board and board.framework_running:
313313
board.stop_framework()
314314
time.sleep(0.05)
315315
board.process_data()

0 commit comments

Comments
 (0)