Closed alexrudd2 closed 12 months ago
Instead of
if foo [is not None]: foo = None
use
if hasattr(self, 'foo'): del foo
Also, revert https://github.com/pymodbus-dev/pymodbus/pull/1859
pymodbus/transport/transport.py:255: error: "None" not callable [misc]
Closing in favor of https://github.com/pymodbus-dev/pymodbus/pull/1888
Instead of
use
Also, revert https://github.com/pymodbus-dev/pymodbus/pull/1859
pymodbus/transport/transport.py:255: error: "None" not callable [misc]