wait longer for webcam to write to disk

workspace
Brendan Howell 8 years ago
parent e2f8248a0a
commit f8cf608c27

@ -99,7 +99,7 @@ class Photography(Bureau):
time.sleep(2) time.sleep(2)
killer_cmd = "killall -s SIGINT mjpg_streamer" killer_cmd = "killall -s SIGINT mjpg_streamer"
subprocess.Popen(killer_cmd.split()) subprocess.Popen(killer_cmd.split())
time.sleep(1) time.sleep(2)
# copy last image to the tmpfile # copy last image to the tmpfile
filelist = os.listdir("/tmp/webcam") filelist = os.listdir("/tmp/webcam")

Loading…
Cancel
Save