We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eba4084 + ccd35e9 commit 2bdac9cCopy full SHA for 2bdac9c
Arduino/arduino.py
100644
100755
@@ -66,7 +66,7 @@ def find_port(baud, timeout):
66
log.debug('Found {0}, testing...'.format(p))
67
try:
68
sr = serial.Serial(p, baud, timeout=timeout)
69
- except serial.serialutil.SerialException as e:
+ except (serial.serialutil.SerialException, OSError) as e:
70
log.debug(str(e))
71
continue
72
time.sleep(2)
0 commit comments