hot bugfix to camera.py

master
Michal Fratczak 2020-08-27 21:48:10 +01:00
rodzic b6bce14496
commit 43a409a0fb
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -398,7 +398,7 @@ def CameraLoop(session_dir, opts):
if seconds_since(snapshot_time) > snapshot_interval_secs:
print("Photo LO")
img_path = next_path(photo_lo_dir, 'jpg')
CAMERA.capture( PHOTO_ARR[-1] , use_video_port = True )
CAMERA.capture( img_path , use_video_port = True )
snapshot_time = utcnow()
PHOTO_ARR.append( img_path )