Skip to content

Commit

Permalink
chore(pre-commit.ci): auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 31, 2024
1 parent 4f20e29 commit 0527132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bluetooth_adapters/dbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def _adapters_from_managed_objects(
# check that path is exactly /org/bluez/hci<integer>
if not path_str.startswith("/org/bluez/hci"):
continue
try:
int(path_str[15:])
try:
int(path_str[15:])
except ValueError:
continue
split_path = path_str.split("/")
Expand Down

0 comments on commit 0527132

Please sign in to comment.