On line 88 in serialutil.py portNotOpenError is does not appear to be a SerialException or a SerialTimeoutException, suggest change to:
portNotOpenError = SerialException('Attempting to use a port that is not open')
This allows the exception to be caught without having to use the catchall Exception. I apologize if I am mistaken (or this was the intended behavior)
Log in to post a comment.