Skip to content

Commit

Permalink
Fix ruff issue
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Jun 5, 2024
1 parent ca90d8a commit 9fe1776
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bellows/ezsp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,8 @@ async def get_mfg_token(self, token: t.EzspMfgTokenId) -> bytes:
override_value = None

if FirmwareFeatures.MFG_TOKEN_OVERRIDES in self._xncp_features:
try:
with contextlib.suppress(InvalidCommandError):
override_value = await self.xncp_get_mfg_token_override(token)
except InvalidCommandError:
pass

LOGGER.debug("XNCP override token %s: %s", token.name, override_value)

Expand Down

0 comments on commit 9fe1776

Please sign in to comment.