diff --git a/screenless/bureau/photography/photography.py b/screenless/bureau/photography/photography.py index cf1316d..c81fd68 100644 --- a/screenless/bureau/photography/photography.py +++ b/screenless/bureau/photography/photography.py @@ -72,7 +72,7 @@ class Photography(Bureau): print(cmd) proc = subprocess.Popen(cmd, shell=True, env={"LD_LIBRARY_PATH": mjpg_dir}) time.sleep(2) - proc.kill(signal.SIGTERM) + proc.kill() time.sleep(1) # copy last image to the tmpfile