Skip to content

Commit

Permalink
correct expected response code
Browse files Browse the repository at this point in the history
fix #66
  • Loading branch information
drunsinn committed Jun 20, 2024
1 parent 9dafce0 commit adba41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyLSV2/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ def send_file(
)
return False
else:
if not self._send_recive(lc.RSP.T_FD, None, lc.RSP.NONE):
if not self._send_recive(lc.RSP.T_FD, None, lc.RSP.T_ER):
self._logger.warning(
"could not send end of transmission telegram, got response '%s'",
self._llcom.last_response,
Expand Down

0 comments on commit adba41b

Please sign in to comment.