Skip to content
Snippets Groups Projects
Commit 48911891 authored by VulcanixFR's avatar VulcanixFR
Browse files

hotfix None check

parent 2d285eee
No related merge requests found
...@@ -84,7 +84,7 @@ class MainProgram (MainWindow): ...@@ -84,7 +84,7 @@ class MainProgram (MainWindow):
sync_number = 0 sync_number = 0
for w in self.robot_windows: for w in self.robot_windows:
sync_number += 1 if not w.collecting_data_done else 0 sync_number += 1 if w is not None and not w.collecting_data_done else 0
if self.sync_done == sync_number: if self.sync_done == sync_number:
self.sync_done = 0 self.sync_done = 0
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment