Login | ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/alarming/trunk/Server/daemon.py
(Generate patch)

Comparing trunk/Server/daemon.py (file contents):
Revision 9 by daniel-marschall, Sun Jul 7 22:02:12 2019 UTC vs.
Revision 10 by daniel-marschall, Mon Jun 29 09:02:57 2020 UTC

# Line 198 | Line 198 | function onload() {
198                  if config.enable_motion_detect:
199                          os.system(os.path.dirname(os.path.abspath(__file__)) + "/motion/motion_stop_safe")
200                  if config.enable_doorbell_listener:
201 <                        sp.Popen.terminate(g_bellListenerProc)
201 >                        if g_bellListenerProc != None:
202 >                                sp.Popen.terminate(g_bellListenerProc)
203  
204          self._output(200, '')
205  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines