From 64932b4dae621b10d4f6fd37927e5e1fb61275fb Mon Sep 17 00:00:00 2001 From: Benjamin Braatz Date: Wed, 14 Jul 2021 14:48:40 +0200 Subject: [PATCH] Handle ConnectionResetError. --- controlpi_plugins/graph.py | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/controlpi_plugins/graph.py b/controlpi_plugins/graph.py index 9bb9e47..c4fbb0a 100644 --- a/controlpi_plugins/graph.py +++ b/controlpi_plugins/graph.py @@ -45,11 +45,7 @@ class Graph(BasePlugin): banner_size = await self._reader.readexactly(4) banner_size = struct.unpack('