Skip to content

Commit 3e8d42c

Browse files
committed
fix logging bug
1 parent ed65216 commit 3e8d42c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/benchbot_robot_controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ def prepare(self):
203203
for i, _ in enumerate(self._cmds):
204204
print("COMMAND:\n\t%s\nOUTPUT:" % self._cmds[i])
205205
with open(
206-
os.path.join(self.config_robot['logs_dir'], str(i),
207-
'r')) as f:
206+
os.path.join(self.config_robot['logs_dir'], str(i)),
207+
'r') as f:
208208
print(f.read())
209209
return False
210210
elif not self._events:

0 commit comments

Comments
 (0)