Skip to content

Commit eba0ec4

Browse files
authored
Merge pull request #238 from JdeRobot/fix-typo-in-if
Fix if in worldless sim
2 parents cef8be4 + 710f53f commit eba0ec4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

manager/manager/launcher/launcher_tools.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ class LauncherTools(BaseModel):
6161

6262
def run(self, consumer):
6363
for tool in self.tools:
64-
if tool == "simulator" and self.world_type:
64+
if tool == "simulator":
65+
if self.world_type is None:
66+
continue
6567
tool = simulator[self.world_type]["tool"]
6668
module = tools[tool]
6769
launcher = self.launch_module(tool, module, consumer)

0 commit comments

Comments
 (0)