diff --git a/script/camtool.py b/script/camtool.py index 99b5f96..ca7ea9c 100644 --- a/script/camtool.py +++ b/script/camtool.py @@ -174,11 +174,11 @@ class CamTool(DeviceBase): def captureBackground(self, images): self.start() self.bg_capture.write(images) - sleep(2.0) + sleep(0.2) while(True): finished = True for retry in range(10): - if self.bg_capture_remain.read() >0 : + if self.bg_capture_remain.read() > 0: finished = False break if finished: