Skip to content

Commit d7ed66c

Browse files
committed
join the f-strings
1 parent 2226477 commit d7ed66c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,8 +800,7 @@ def subscribe(self, topic, qos=0):
800800
for i in range(0, remaining_len):
801801
if rc[i] not in [0, 1, 2]:
802802
raise MMQTTException(
803-
f"SUBACK Failure for topic "
804-
f"{topics[i][0]}: {hex(rc[i])}"
803+
f"SUBACK Failure for topic {topics[i][0]}: {hex(rc[i])}"
805804
)
806805

807806
for t, q in topics:

0 commit comments

Comments
 (0)