Skip to content

Commit

Permalink
fix loop
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Oct 8, 2024
1 parent be23ab2 commit 143bd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/habluetooth/base_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def _async_on_advertisement(
new_service_uuids = list(prev_service_info.service_uuids)
for service_uuid in service_uuids:
if service_uuid not in new_service_uuids:
service_uuids.append(service_uuid)
new_service_uuids.append(service_uuid)
service_info.service_uuids = new_service_uuids

if not service_data or service_data == prev_service_info.service_data:
Expand Down

0 comments on commit 143bd7f

Please sign in to comment.