From 5915fc747789595f0c8106197cb873309ceb1f4f Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 8 Jul 2021 16:55:03 -0400 Subject: [PATCH] fixed month --- take_photo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/take_photo.py b/take_photo.py index 48beca2f..8484a172 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("%e-%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')