diff --git a/pyLSV2/client.py b/pyLSV2/client.py index 65fc7b8..3763d2a 100644 --- a/pyLSV2/client.py +++ b/pyLSV2/client.py @@ -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,