This commit is contained in:
mwiegand 2022-02-12 20:55:08 +01:00
parent dbca66326a
commit a581dbfee9

View file

@ -2,4 +2,6 @@ from bundlewrap.operations import run_local
def node_apply_start(repo, node, interactive=False, **kwargs):
if node.has_bundle('wol-sleeper'):
repo.get_node(node.metadata.get('wol-sleeper/waker')).run(node.metadata.get('wol-sleeper/wake_command'))
repo\
.get_node(node.metadata.get('wol-sleeper/waker'))\
.run(node.metadata.get('wol-sleeper/wake_command'))