Skip to content

Commit b0b8957

Browse files
committed
Closes #491
1 parent 5048a1a commit b0b8957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymodbus/framer/socket_framer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def decode_data(self, data):
118118
if len(data) > self._hsize:
119119
tid, pid, length, uid, fcode = struct.unpack(SOCKET_FRAME_HEADER,
120120
data[0:self._hsize+1])
121-
return dict(tid=tid, pid=pid, lenght=length, unit=uid, fcode=fcode)
121+
return dict(tid=tid, pid=pid, length=length, unit=uid, fcode=fcode)
122122
return dict()
123123

124124
def processIncomingPacket(self, data, callback, unit, **kwargs):

0 commit comments

Comments
 (0)