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