Skip to content

Commit d8da11b

Browse files
committed
Fix in exit() command in api to not parse reply since ther ewon't be a reply
1 parent 92a841c commit d8da11b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylabrobot/arms/precise_flex/precise_flex_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def exit(self) -> None:
101101
Note:
102102
Does not affect any robots that may be active.
103103
"""
104-
await self.send_command("exit")
104+
await self.io.write('exit'.encode('utf-8') + b'\n')
105105

106106
async def home(self) -> None:
107107
"""Home the robot associated with this thread.

0 commit comments

Comments
 (0)