Skip to content

Commit

Permalink
Fix mypy on older python
Browse files Browse the repository at this point in the history
  • Loading branch information
WillB97 committed Jun 30, 2024
1 parent 28c2dff commit ef65562
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sbot/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ def _on_connect(
) -> None:
if reason_code.is_failure:
LOGGER.warning(
"Failed to connect to MQTT broker. "
f"Return code: {reason_code.getName()}" # type: ignore[no-untyped-call]
f"Failed to connect to MQTT broker. Return code: {reason_code.getName()}" # type: ignore[no-untyped-call] # noqa: E501
)
return

Expand Down

0 comments on commit ef65562

Please sign in to comment.