From 7aa9ff06bb46a77b80cf80bd971cf3df52f50426 Mon Sep 17 00:00:00 2001 From: sfop Date: Wed, 31 Aug 2016 17:39:35 +0200 Subject: [PATCH] Closedown --- script/camtool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: