fixed month

bp
alanbjohnston 5 years ago committed by GitHub
parent 4fd5a1981b
commit 5915fc7477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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')

Loading…
Cancel
Save

Powered by TurnKey Linux.