Skip to content

Commit

Permalink
Correct getFrame.
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen committed Feb 4, 2024
1 parent 673a4a4 commit 4fcc3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/framer/socket_framer.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def getFrame(self):
:returns: The next full frame buffer
"""
length = self._hsize + self._header["len"] -1
length = self._hsize + self._header["len"]
return self._buffer[self._hsize : length]

# ----------------------------------------------------------------------- #
Expand Down

0 comments on commit 4fcc3d7

Please sign in to comment.