Skip to content

Commit 0f644af

Browse files
authored
Merge pull request #2850 from adafruit/TheKitty-patch-2
Issue noted in Learn
2 parents 237cb1a + 02b3dc8 commit 0f644af

File tree

1 file changed

+2
-0
lines changed
  • Introducing_Trinket_M0/Trinket_SDCardList

1 file changed

+2
-0
lines changed

Introducing_Trinket_M0/Trinket_SDCardList/code.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828

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

0 commit comments

Comments
 (0)