From c3c217b2ab717ba404d0d7bbae25501620bd8038 Mon Sep 17 00:00:00 2001 From: Benjamin Braatz Date: Wed, 14 Jul 2021 14:55:08 +0200 Subject: [PATCH] Bug fix: Parentheses for print. --- 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 37c10ca..b1970ac 100644 --- a/controlpi_plugins/graph.py +++ b/controlpi_plugins/graph.py @@ -38,7 +38,7 @@ class Graph(BasePlugin): self._states[message['original sender']] = message['state'] async def _open_connection(self): - print f"Establishing Graph connection to {self._host}:{self._port}." + print(f"Establishing Graph connection to {self._host}:{self._port}.") (self._reader, self._writer) = await asyncio.open_connection( self._host, self._port, ssl=self._ssl_ctx) self._writer.transport.set_write_buffer_limits(0) -- 2.34.1