log next step
This commit is contained in:
parent
8f79d073e6
commit
42be31ca81
|
@ -229,6 +229,11 @@ class Camera:
|
|||
segment_t0 = time.time()
|
||||
if self.abort:
|
||||
return
|
||||
print('next step %s at %s - %s' % (
|
||||
steps.index(step),
|
||||
datetime.now().strftime('%Y-%m-%d_%H:%M:%S'),
|
||||
json.dumps(step)
|
||||
))
|
||||
if isinstance(step, dict):
|
||||
if 'fast' in step or ('speed' in step and step['speed'] > 100):
|
||||
self.fast_preset(step.get('fast', step.get('preset')), True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user