removes interval parapeter from subclass constructors of SimpleTask

pull/3475/head
KPrasch 2024-02-15 15:11:13 +01:00 committed by derekpierre
parent 69bd09bfe3
commit b1fef5d6b1
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ class OperatorBondedTracker(SimpleTask):
def __init__(self, ursula):
self._ursula = ursula
super().__init__(interval=self.INTERVAL)
super().__init__()
def run(self) -> None:
application_agent = ContractAgency.get_agent(

View File

@ -53,7 +53,7 @@ class EventScannerTask(SimpleTask):
def __init__(self, scanner: Callable):
self.scanner = scanner
super().__init__(interval=self.INTERVAL)
super().__init__()
def run(self):
self.scanner()