Skip to content

Commit 8c1e70c

Browse files
Convert generate to a boolean in if-statement (#84) (#85)
1 parent 0125e27 commit 8c1e70c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clearpath_gz/launch/robot_spawn.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def launch_setup(context, *args, **kwargs):
211211
rviz
212212
]
213213

214-
if not generate.perform(context):
214+
if not bool(generate.perform(context)):
215215
actions.append(group_action_spawn_robot)
216216

217217
return actions

0 commit comments

Comments
 (0)