Skip to content

Commit

Permalink
fix the f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed Feb 16, 2023
1 parent 157b41f commit aaace58
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions adafruit_minimqtt/adafruit_minimqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ def subscribe(self, topic, qos=0):
return

raise MMQTTException(
f"invalid message received as response to " f"SUBSCRIBE: {hex(op)}"
f"invalid message received as response to SUBSCRIBE: {hex(op)}"
)

def unsubscribe(self, topic):
Expand Down Expand Up @@ -869,8 +869,7 @@ def unsubscribe(self, topic):
return

raise MMQTTException(
f"invalid message received as response to "
f"UNSUBSCRIBE: {hex(op)}"
f"invalid message received as response to UNSUBSCRIBE: {hex(op)}"
)

def _recompute_reconnect_backoff(self):
Expand Down

0 comments on commit aaace58

Please sign in to comment.