Skip to content

Commit 3b5e98b

Browse files
author
Jim Bennett
committed
Update iot_mqtt.py
1 parent 4566553 commit 3b5e98b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

adafruit_azureiot/iot_mqtt.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,13 @@ def _gen_sas_token(self) -> str:
111111
def _create_mqtt_client(self) -> None:
112112
minimqtt.set_socket(self._socket, self._iface)
113113

114-
self._logger.debug(str.replace(f'- iot_mqtt :: _on_connect :: username = {self._username}, password = {self._passwd}', '%', '%%'))
114+
self._logger.debug(
115+
str.replace(
116+
f"- iot_mqtt :: _on_connect :: username = {self._username}, password = {self._passwd}",
117+
"%",
118+
"%%",
119+
)
120+
)
115121

116122
self._mqtts = MQTT(
117123
broker=self._hostname,

0 commit comments

Comments
 (0)