Update code.py
This commit is contained in:
parent
86f66dd251
commit
02b3dc8391
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ storage.mount(vfs, "/sd")
|
||||||
|
|
||||||
def print_directory(path, tabs=0):
|
def print_directory(path, tabs=0):
|
||||||
for file in os.listdir(path):
|
for file in os.listdir(path):
|
||||||
if file == "?":
|
if file == "?":
|
||||||
continue # Issue noted in Learn
|
continue # Issue noted in Learn
|
||||||
stats = os.stat(path + "/" + file)
|
stats = os.stat(path + "/" + file)
|
||||||
filesize = stats[6]
|
filesize = stats[6]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue