From: Benjamin Braatz Date: Wed, 14 Jul 2021 12:41:43 +0000 (+0200) Subject: Bug fix: Await coroutione. X-Git-Url: http://git.graph-it.com/?a=commitdiff_plain;h=be69e15abef396524f1ac8a4b854f55bb546297a;p=graphit%2Fcontrolpi-graph.git Bug fix: Await coroutione. --- 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()