Skip to content

Commit

Permalink
Using dict constructor instead of literal
Browse files Browse the repository at this point in the history
  • Loading branch information
hbldh committed Dec 7, 2021
1 parent d6ddef4 commit 5c9e393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sensortag.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@


async def main(address):
async with BleakClient(address, win={"use_cached_services": True}) as client:
async with BleakClient(address, win=dict(use_cached_services=True)) as client:
print(f"Connected: {client.is_connected}")

system_id = await client.read_gatt_char(SYSTEM_ID_UUID)
Expand Down

0 comments on commit 5c9e393

Please sign in to comment.