Skip to content

Commit 478ebcc

Browse files
authored
Update code.py
1 parent 57fdf59 commit 478ebcc

File tree

1 file changed

+1
-2
lines changed
  • PyPortal_Floppy_with_Display

1 file changed

+1
-2
lines changed

PyPortal_Floppy_with_Display/code.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
def get_files(base):
2222
files = os.listdir(base)
2323
file_names = []
24-
for j, filetext in enumerate(files):
24+
for isdir, filetext in enumerate(files):
2525
if not filetext.startswith("."):
2626
if filetext not in ('boot_out.txt', 'System Volume Information'):
2727
stats = os.stat(base + filetext)
@@ -30,7 +30,6 @@ def get_files(base):
3030
file_names.append((filetext, True))
3131
else:
3232
file_names.append((filetext, False))
33-
j = 0
3433
return filenames
3534

3635
def get_touch(screen):

0 commit comments

Comments
 (0)