We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57fdf59 commit 478ebccCopy full SHA for 478ebcc
PyPortal_Floppy_with_Display/code.py
@@ -21,7 +21,7 @@
21
def get_files(base):
22
files = os.listdir(base)
23
file_names = []
24
- for j, filetext in enumerate(files):
+ for isdir, filetext in enumerate(files):
25
if not filetext.startswith("."):
26
if filetext not in ('boot_out.txt', 'System Volume Information'):
27
stats = os.stat(base + filetext)
@@ -30,7 +30,6 @@ def get_files(base):
30
file_names.append((filetext, True))
31
else:
32
file_names.append((filetext, False))
33
- j = 0
34
return filenames
35
36
def get_touch(screen):
0 commit comments