From c792a9e9e62cd87fd0cd611e5de9c1113e3bab51 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 8 Jul 2021 16:57:33 -0400 Subject: [PATCH] only numbers --- take_photo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/take_photo.py b/take_photo.py index 8484a172..d00e1876 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')