diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-03-15 20:45:27 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-03-16 12:49:15 -0400 |
commit | d2027cb4a9d2fa8cfdf82964abc691df7718c1f4 (patch) | |
tree | 67c558fdd960c3e33119fd6ce40eebf8250ffecf /klippy/gcode.py | |
parent | e60779bfe117abdf861f65012d3fdf037b81b46c (diff) | |
download | kutter-d2027cb4a9d2fa8cfdf82964abc691df7718c1f4.tar.gz kutter-d2027cb4a9d2fa8cfdf82964abc691df7718c1f4.tar.xz kutter-d2027cb4a9d2fa8cfdf82964abc691df7718c1f4.zip |
serialhdl: Catch SerialException as well as OSError on serial open
Catch the right exceptions so that a retry is possible when attempting
to open the serial port.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/gcode.py')
0 files changed, 0 insertions, 0 deletions