mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-01-16 17:09:25 +01:00
fix: fixing autostart of tasks
This commit is contained in:
@@ -140,7 +140,7 @@ class TaskManager(AbstractTaskManager):
|
||||
def start_autostart_tasks(self) -> None:
|
||||
if self.service._autostart_tasks is not None:
|
||||
for service_name, args in self.service._autostart_tasks.items():
|
||||
start_method = getattr(self, f"start_{service_name}", None)
|
||||
start_method = getattr(self.service, f"start_{service_name}", None)
|
||||
if start_method is not None and callable(start_method):
|
||||
start_method(*args)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user