Prepare interface modularity

This commit is contained in:
Mark Qvist 2024-11-21 14:41:22 +01:00
parent 760ab981d0
commit a762af035a
14 changed files with 43 additions and 31 deletions

View file

@ -54,7 +54,7 @@ class PipeInterface(Interface):
def __init__(self, owner, configuration):
super().__init__()
c = configuration
c = Interface.get_config_obj(configuration)
name = c["name"]
command = c["command"] if "command" in c else None
respawn_delay = c.as_float("respawn_delay") if "respawn_delay" in c else None