Skip to content

Commit 8333935

Browse files
author
brentru
committed
black
1 parent 6b47fa3 commit 8333935

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,13 @@ def _get_connect_socket(self, host, port, *, timeout=1):
228228
)
229229

230230
if self.logger and port == MQTT_TLS_PORT:
231-
self.logger.info("Establishing a SECURE SSL connection to {0}:{1}".format(host, port))
231+
self.logger.info(
232+
"Establishing a SECURE SSL connection to {0}:{1}".format(host, port)
233+
)
232234
else:
233-
self.logger.info("Establishing an INSECURE connection to {0}:{1}".format(host, port))
235+
self.logger.info(
236+
"Establishing an INSECURE connection to {0}:{1}".format(host, port)
237+
)
234238

235239
addr_info = self._socket_pool.getaddrinfo(
236240
host, port, 0, self._socket_pool.SOCK_STREAM

0 commit comments

Comments
 (0)