Skip to content

Commit

Permalink
[AtsushiSakai#13] Fix for SerialException NameError
Browse files Browse the repository at this point in the history
  • Loading branch information
process1183 committed Apr 5, 2021
1 parent 0626162 commit 8699ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyroombaadapter/pyroombaadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self, port, bau_rate=115200, time_out_sec=1., wheel_span_mm=235.0):
self.WHEEL_SPAN = wheel_span_mm
try:
self.serial_con = self._connect_serial(port, bau_rate, time_out_sec)
except SerialException:
except serial.SerialException:
print("Cannot find serial port. Plase reconnect it.")
sys.exit(1)

Expand Down

0 comments on commit 8699ffc

Please sign in to comment.