Skip to content

Commit 86f66dd

Browse files
authored
Update code.py
1 parent ca878d0 commit 86f66dd

File tree

1 file changed

+2
-1
lines changed
  • Introducing_Trinket_M0/Trinket_SDCardList

1 file changed

+2
-1
lines changed

Introducing_Trinket_M0/Trinket_SDCardList/code.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828

2929
def print_directory(path, tabs=0):
3030
for file in os.listdir(path):
31-
if file == "?" : continue # Issue noted in Learn
31+
if file == "?":
32+
continue # Issue noted in Learn
3233
stats = os.stat(path + "/" + file)
3334
filesize = stats[6]
3435
isdir = stats[0] & 0x4000

0 commit comments

Comments
 (0)