Skip to content

Commit

Permalink
off by one
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Gilby committed Oct 31, 2024
1 parent 0527132 commit fefef79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bluetooth_adapters/dbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _adapters_from_managed_objects(
if not path_str.startswith("/org/bluez/hci"):
continue
try:
int(path_str[15:])
int(path_str[14:])
except ValueError:
continue
split_path = path_str.split("/")
Expand Down

0 comments on commit fefef79

Please sign in to comment.