Skip to content

Commit 5181010

Browse files
committed
bluetooth: Fix a typo in example code.
1 parent 7cdf708 commit 5181010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micropython/bluetooth/aioble/examples/l2cap_file_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async def l2cap_task(connection):
9797
if list_path:
9898
print("List:", list_path)
9999
try:
100-
for name, _, _, size in os.ilistdir(list_path):
100+
for name, _, _, size in os.listdir(list_path):
101101
await channel.send("{}:{}\n".format(size, name))
102102
await channel.send("\n")
103103
await channel.flush()

0 commit comments

Comments
 (0)