fix setting of correct camera status on timelapse stop
This commit is contained in:
parent
6ae1f9f22f
commit
8830e17f2f
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class CameraWorker(object):
|
||||||
def stop_timelapse(self):
|
def stop_timelapse(self):
|
||||||
if self.status == CameraStatus.TIMELAPSE:
|
if self.status == CameraStatus.TIMELAPSE:
|
||||||
self._send_cmd('tl 0')
|
self._send_cmd('tl 0')
|
||||||
self.status == CameraStatus.IDLE
|
self.status = CameraStatus.IDLE
|
||||||
else:
|
else:
|
||||||
raise CameraActionError('Camera not in timelapse mode!')
|
raise CameraActionError('Camera not in timelapse mode!')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue