1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

apply patch mentioned in #192

This commit is contained in:
Joel Bender 2018-06-20 23:48:08 -04:00
parent a1780e25e6
commit 5078d59a15
3 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@ class DetectionMonitor:
# if the algorithm is already triggered, don't bother checking for more
if self.algorithm._triggered:
if _debug: DetectionMonitor._debug(" - already triggered")
self.algorithm._triggered = False
return
# if there is a special filter, use it, otherwise use !=

View File

@ -38,6 +38,7 @@ class DetectionMonitor:
# if the algorithm is already triggered, don't bother checking for more
if self.algorithm._triggered:
if _debug: DetectionMonitor._debug(" - already triggered")
self.algorithm._triggered = False
return
# if there is a special filter, use it, otherwise use !=

View File

@ -38,6 +38,7 @@ class DetectionMonitor:
# if the algorithm is already triggered, don't bother checking for more
if self.algorithm._triggered:
if _debug: DetectionMonitor._debug(" - already triggered")
self.algorithm._triggered = False
return
# if there is a special filter, use it, otherwise use !=