Skip to content

Commit

Permalink
fixes #431
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBender committed Oct 13, 2021
1 parent 6027b96 commit 0631b54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion py25/bacpypes/service/cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion py27/bacpypes/service/cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion py34/bacpypes/service/cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 0631b54

Please sign in to comment.