From 87a7abe21e08c0b3927113ccd02871726cac65ec Mon Sep 17 00:00:00 2001 From: Nigel Dokter Date: Mon, 10 Jun 2024 16:15:42 +0200 Subject: [PATCH] Update socket_.py Remove whitespaces --- dsmr_parser/clients/socket_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsmr_parser/clients/socket_.py b/dsmr_parser/clients/socket_.py index dc6bd53..8976aaf 100644 --- a/dsmr_parser/clients/socket_.py +++ b/dsmr_parser/clients/socket_.py @@ -40,7 +40,7 @@ def read(self): except socket.timeout: logger.error("Socket timeout occurred, exiting") break - + lines = buffer.splitlines(keepends=True) if len(lines) == 0: