Skip to content

Commit 338b6c6

Browse files
committed
bluetooth: Fix a typo in example code.
Signed-off-by: Marcin Niemira <marcin.niemira@gmail.com>
1 parent 7cdf708 commit 338b6c6

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)