diff --git a/server/main.py b/server/main.py index 0ff70e2..0fb88d7 100644 --- a/server/main.py +++ b/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)