Skip to content

Commit

Permalink
Fix bug in RecurringTask where delay is not propagated...
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTremblay committed Nov 13, 2019
1 parent 52b75f4 commit ecec1e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BAC0/infos.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
__email__ = "christian.tremblay@servisys.com"
__url__ = "https://github.com/ChristianTremblay/BAC0"
__download_url__ = "https://github.com/ChristianTremblay/BAC0/archive/master.zip"
__version__ = "19.11.12dev1"
__version__ = "19.11.12dev2"
__license__ = "LGPLv3"
2 changes: 1 addition & 1 deletion BAC0/tasks/RecurringTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, fnc, delay=60):
"""
if hasattr(fnc, "__call__"):
self.func = fnc
Task.__init__(self)
Task.__init__(self, name="recurring_function", delay=delay)
else:
raise ValueError("You must pass a function to this...")

Expand Down

0 comments on commit ecec1e9

Please sign in to comment.