rossmann-engineering / EasyModbusTCP.PY

Modbus TCP, Modbus UDP and Modbus RTU client library for Python implementations
MIT License
67 stars 33 forks source link

Contrary to doc, easymodbus cannot be used with Python <3.8 #8

Closed gwideman closed 1 year ago

gwideman commented 3 years ago

There are statements in modbusClient.py that call bytearray.hex(' '). But bytearray.hex with an argument was only introduced in Python 3.8. So that code fails. It happens to be in logging.debug statements, so perhaps those were supposed to be removed?

rossmann-engineering commented 1 year ago

Updated the documentation accordingly