Skip to content

Commit 0436c8f

Browse files
authored
Merge pull request #11 from adafruit/black-update
Black reformatting with Python 3 target.
2 parents 7e0d9a0 + 2252471 commit 0436c8f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

examples/aws_iot_shadows.py

+1-2
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

+1-2
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)