mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-05 13:10:41 +02:00
fixes recursion when defining task without autostart
This commit is contained in:
parent
d7c5c2cd6e
commit
488415436c
@ -17,7 +17,9 @@ def autostart_service_tasks(
|
||||
"""
|
||||
|
||||
for attr in dir(service):
|
||||
if is_property_attribute(service, attr): # prevent eval of property attrs
|
||||
if is_property_attribute(service, attr) or attr in {
|
||||
"__dict__",
|
||||
}: # prevent eval of property attrs and recursion
|
||||
continue
|
||||
|
||||
val = getattr(service, attr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user