From 0631b548c99ab7d2aeabe1feef9799edf7609a65 Mon Sep 17 00:00:00 2001 From: Joel Bender Date: Wed, 13 Oct 2021 18:06:08 -0400 Subject: [PATCH] fixes #431 --- py25/bacpypes/service/cov.py | 2 +- py27/bacpypes/service/cov.py | 2 +- py34/bacpypes/service/cov.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/py25/bacpypes/service/cov.py b/py25/bacpypes/service/cov.py index 6c19abb4..bb0697ee 100644 --- a/py25/bacpypes/service/cov.py +++ b/py25/bacpypes/service/cov.py @@ -458,7 +458,7 @@ def cov_period_filter(self, old_value, new_value): # check for a new period if new_value != 0: - self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.cov_period_x) + self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.send_cov_notifications) self.cov_period_task.install_task() if _debug: PulseConverterCriteria._debug(" - new task created and installed") diff --git a/py27/bacpypes/service/cov.py b/py27/bacpypes/service/cov.py index acd921c8..c58b7a8c 100644 --- a/py27/bacpypes/service/cov.py +++ b/py27/bacpypes/service/cov.py @@ -456,7 +456,7 @@ def cov_period_filter(self, old_value, new_value): # check for a new period if new_value != 0: - self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.cov_period_x) + self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.send_cov_notifications) self.cov_period_task.install_task() if _debug: PulseConverterCriteria._debug(" - new task created and installed") diff --git a/py34/bacpypes/service/cov.py b/py34/bacpypes/service/cov.py index 4a5e3204..ddd395f6 100644 --- a/py34/bacpypes/service/cov.py +++ b/py34/bacpypes/service/cov.py @@ -457,7 +457,7 @@ def cov_period_filter(self, old_value, new_value): # check for a new period if new_value != 0: - self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.cov_period_x) + self.cov_period_task = RecurringFunctionTask(new_value * 1000, self.send_cov_notifications) self.cov_period_task.install_task() if _debug: PulseConverterCriteria._debug(" - new task created and installed")