diff --git a/examples/aws_iot_shadows.py b/examples/aws_iot_shadows.py index 119a14c..312c307 100644 --- a/examples/aws_iot_shadows.py +++ b/examples/aws_iot_shadows.py @@ -134,8 +134,7 @@ def message(client, topic, msg): MQTT.set_socket(socket, esp) # Set up a new MiniMQTT Client -client = MQTT.MQTT(broker=secrets["broker"], - client_id=secrets["client_id"]) +client = MQTT.MQTT(broker=secrets["broker"], client_id=secrets["client_id"]) # Initialize AWS IoT MQTT API Client aws_iot = MQTT_CLIENT(client) diff --git a/examples/aws_iot_simpletest.py b/examples/aws_iot_simpletest.py index f25a8c0..dce36d6 100644 --- a/examples/aws_iot_simpletest.py +++ b/examples/aws_iot_simpletest.py @@ -131,8 +131,7 @@ def message(client, topic, msg): MQTT.set_socket(socket, esp) # Set up a new MiniMQTT Client -client = MQTT.MQTT(broker=secrets["broker"], - client_id=secrets["client_id"]) +client = MQTT.MQTT(broker=secrets["broker"], client_id=secrets["client_id"]) # Initialize AWS IoT MQTT API Client aws_iot = MQTT_CLIENT(client)