From be69e15abef396524f1ac8a4b854f55bb546297a Mon Sep 17 00:00:00 2001 From: Benjamin Braatz Date: Wed, 14 Jul 2021 14:41:43 +0200 Subject: [PATCH] Bug fix: Await coroutione. --- controlpi_plugins/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controlpi_plugins/graph.py b/controlpi_plugins/graph.py index 6f38d22..9bb9e47 100644 --- a/controlpi_plugins/graph.py +++ b/controlpi_plugins/graph.py @@ -104,4 +104,4 @@ class Graph(BasePlugin): async def run(self) -> None: """Open connection and get coroot instance for name.""" self._lock = asyncio.Lock() - self._open_connection() + await self._open_connection() -- 2.34.1