From 43a409a0fb534622e2a031bec6f1d55833b8da35 Mon Sep 17 00:00:00 2001 From: Michal Fratczak Date: Thu, 27 Aug 2020 21:48:10 +0100 Subject: [PATCH] hot bugfix to camera.py --- camera/camera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camera/camera.py b/camera/camera.py index 418b9e9..4b1a89f 100644 --- a/camera/camera.py +++ b/camera/camera.py @@ -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 )