From 93e1b5af02d41c91c60311cf3352cbc59b95a784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Tue, 24 Dec 2024 22:44:00 -0800 Subject: [PATCH] More fixing --- python/lvmecp/actor/actor.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/python/lvmecp/actor/actor.py b/python/lvmecp/actor/actor.py index 5462608..4402b76 100644 --- a/python/lvmecp/actor/actor.py +++ b/python/lvmecp/actor/actor.py @@ -62,6 +62,14 @@ def __init__( self._emit_status_task: asyncio.Task | None = None + async def start(self, **kwargs): + """Starts the actor.""" + + self.running: bool = False + + async def start(self, **kwargs): + """Starts the actor.""" + await super().start(**kwargs) self.running = True