Skip to content

Commit 278a1bb

Browse files
committed
bug fix
1 parent b2dcd92 commit 278a1bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/transports/modbus_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def read_modbus_registers(self, ranges : list[tuple] = None, start : int = 0, en
462462
isError = True #other erorrs. ie Failed to connect[ModbusSerialClient(rtu baud[9600])]
463463

464464

465-
if register.isError() or isError:
465+
if isError: #register.isError() or
466466
self._log.error(register.__str__)
467467
self.modbus_delay += self.modbus_delay_increament #increase delay, error is likely due to modbus being busy
468468

0 commit comments

Comments
 (0)