Skip to content

Commit 2252471

Browse files
committed
Black reformatting with Python 3 target.
1 parent 7e0d9a0 commit 2252471

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

examples/aws_iot_shadows.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ def message(client, topic, msg):
134134
MQTT.set_socket(socket, esp)
135135

136136
# Set up a new MiniMQTT Client
137-
client = MQTT.MQTT(broker=secrets["broker"],
138-
client_id=secrets["client_id"])
137+
client = MQTT.MQTT(broker=secrets["broker"], client_id=secrets["client_id"])
139138

140139
# Initialize AWS IoT MQTT API Client
141140
aws_iot = MQTT_CLIENT(client)

examples/aws_iot_simpletest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ def message(client, topic, msg):
131131
MQTT.set_socket(socket, esp)
132132

133133
# Set up a new MiniMQTT Client
134-
client = MQTT.MQTT(broker=secrets["broker"],
135-
client_id=secrets["client_id"])
134+
client = MQTT.MQTT(broker=secrets["broker"], client_id=secrets["client_id"])
136135

137136
# Initialize AWS IoT MQTT API Client
138137
aws_iot = MQTT_CLIENT(client)

0 commit comments

Comments
 (0)