Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

remove redundant restart

roryclear2769b3d2ec94
diff --git a/clearcam.py b/clearcam.py
index ccf0c23..8f17874 100644
--- a/clearcam.py
+++ b/clearcam.py
@@ -1302,8 +1302,6 @@ def schedule_daily_restart(hls_streamer, videocapture, restart_time):
delta = ((target.hour * 3600 + target.minute * 60) -
(now.hour * 3600 + now.minute * 60 + now.second))
time.sleep(delta)
-
- videocapture._open_ffmpeg() #restart
sys.stdout.flush()
python = sys.executable
os.execv(python, [python] + sys.argv)