Skip to content

Commit 9cdcacd

Browse files
author
brentru
committed
remove unnecessary broker ip
1 parent cd541fd commit 9cdcacd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

adafruit_minimqtt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,6 @@ def connect(self, clean_session=True):
232232
try:
233233
if self.logger is not None:
234234
self.logger.debug('Attempting to establish insecure MQTT connection...')
235-
if hasattr(self.broker, "extend"):
236-
self.broker = _the_interface.pretty_ip(self.broker)
237235
self._sock.connect(addr[-1], TCP_MODE)
238236
except RuntimeError as e:
239237
raise MMQTTException("Invalid broker address defined.", e)

0 commit comments

Comments
 (0)