send all timelapse commands at once

This commit is contained in:
Alexander Minges 2019-02-01 14:52:53 +01:00
parent fb7f77b3a8
commit 20e1d696a0

View file

@ -62,7 +62,7 @@ class CameraWorker(object):
def start_timelapse(self, interval=300):
if self.status == CameraStatus.IDLE:
self.send_cmd('tv {}'.format(str(interval)))
self.send_cmd('tv {} \n tl 1'.format(str(interval)))
self.send_cmd('tl 1')
self.status = CameraStatus.TIMELAPSE
else: