Skip to content

Commit 4f154ab

Browse files
Bug fix: missing attribute in set of allowed attributes (fixes #271) (#272)
* bug fix: missing element * bug fix: bad attribute name
1 parent 10c6311 commit 4f154ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/roswire/proxy/launch/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def _load_remap_tag(self,
249249
return ctx, cfg
250250

251251
@tag('node', ['name', 'type', 'pkg', 'required', 'clear_params',
252-
'respawn', 'namespace', 'output'])
252+
'respawn', 'namespace', 'output', 'args'])
253253
def _load_node_tag(self,
254254
ctx: LaunchContext,
255255
cfg: ROSConfig,
@@ -265,7 +265,7 @@ def _load_node_tag(self,
265265
required = self._read_optional_bool(tag, 'required', ctx, False)
266266
respawn = self._read_optional_bool(tag, 'respawn', ctx, False)
267267
respawn_delay = \
268-
self._read_optional_float(tag, 'respawn', ctx, 0.0)
268+
self._read_optional_float(tag, 'respawn_delay', ctx, 0.0)
269269

270270
# create context
271271
ns = self._read_namespace(ctx, tag)

0 commit comments

Comments
 (0)