From c49017a9405f938da768e09a3698531b3ef855d8 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 8 Jul 2021 16:59:24 -0400 Subject: [PATCH] dashes between date --- take_photo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/take_photo.py b/take_photo.py index d00e1876..d6b0102f 100644 --- a/take_photo.py +++ b/take_photo.py @@ -7,5 +7,5 @@ camera.resolution = (2592,1944) camera.start_preview() current_time = time.strftime("%H;%M;%S", time.localtime()) -current_time = time.strftime("%m%d%H%M%S", time.localtime()) +current_time = time.strftime("%m-%d-%H%M%S", time.localtime()) camera.capture('/home/pi/payload/img'+current_time+'.jpg')