Add delay for writing files
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user