dashes between date

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

@ -7,5 +7,5 @@ camera.resolution = (2592,1944)
camera.start_preview() camera.start_preview()
current_time = time.strftime("%H;%M;%S", time.localtime()) 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') camera.capture('/home/pi/payload/img'+current_time+'.jpg')

Loading…
Cancel
Save

Powered by TurnKey Linux.