Get UI working for background detector things
This commit is contained in:
parent
44860bf777
commit
3e8874188e
5 changed files with 70 additions and 38 deletions
|
|
@ -234,7 +234,7 @@ class SmartScanThing(lt.Thing):
|
|||
self._csm.assert_calibration()
|
||||
|
||||
if self.skip_background:
|
||||
if not self._cam.background_detector_status.ready:
|
||||
if not self._cam.active_detector.ready:
|
||||
raise RuntimeError(
|
||||
"Background is not set: you need to calibrate background detection."
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue