Add delay for writing files

This commit is contained in:
Tanner Collin 2021-03-23 18:27:05 -06:00
parent 104d39b4c6
commit 4e7fa44301

View File

@ -142,6 +142,9 @@ def session_post(cid):
time.sleep(light_time / 1000) time.sleep(light_time / 1000)
power.lights_off() power.lights_off()
status = WRITING
time.sleep(max(5 - light_time / 1000, 1))
status = DOWNLOADING status = DOWNLOADING
download.download_all_photos(path) download.download_all_photos(path)
time.sleep(3) time.sleep(3)