Add delay for writing files

master
Tanner Collin 3 years ago
parent 104d39b4c6
commit 4e7fa44301
  1. 3
      server/main.py

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

Loading…
Cancel
Save