From adba41b55558c3bbd6d5cb837e2d574d7a542206 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 20 Jun 2024 18:05:34 +0200 Subject: [PATCH] correct expected response code fix #66 --- pyLSV2/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,