python try except not stopping errors My following code was designed to handle exceptions and switch serialport if nothing was found