Skip to content

Commit aaace58

Browse files
committed
fix the f-strings
1 parent 157b41f commit aaace58

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ def subscribe(self, topic, qos=0):
811811
return
812812

813813
raise MMQTTException(
814-
f"invalid message received as response to " f"SUBSCRIBE: {hex(op)}"
814+
f"invalid message received as response to SUBSCRIBE: {hex(op)}"
815815
)
816816

817817
def unsubscribe(self, topic):
@@ -869,8 +869,7 @@ def unsubscribe(self, topic):
869869
return
870870

871871
raise MMQTTException(
872-
f"invalid message received as response to "
873-
f"UNSUBSCRIBE: {hex(op)}"
872+
f"invalid message received as response to UNSUBSCRIBE: {hex(op)}"
874873
)
875874

876875
def _recompute_reconnect_backoff(self):

0 commit comments

Comments
 (0)