0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 11:11:49 +02:00

fix(auto_updates): fix condition to skip auto update

This commit is contained in:
2025-04-12 19:45:06 +02:00
parent cfc8272ac2
commit 18e4ba6cfe

View File

@ -258,7 +258,7 @@ class AutoUpdates(BECMainWindow):
dev_x, dev_y = info.scan_report_devices[0], info.scan_report_devices[1] # type:ignore
dev_z = self.get_selected_device(info.readout_priority["monitored"]) # type:ignore
if dev_x or dev_y or dev_z is None:
if None in (dev_x, dev_y, dev_z):
return
# Clear the scatter waveform widget and plot the data