PyLint fix

This commit is contained in:
Ivan Kravets
2023-03-08 14:47:47 -07:00
parent 07bfa8ce4a
commit a387f9708a

View File

@ -46,7 +46,7 @@ class SerialTestOutputReader:
ser.open()
except serial.SerialException as exc:
click.secho(str(exc), fg="red", err=True)
return None
return
if not self.test_runner.options.no_reset:
ser.flushInput()