Skip to content

Commit 542d546

Browse files
authored
Update code-multi-pyportal-direct.py
1 parent 35dd446 commit 542d546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CircuitPython_gifio/PyPortal/code-multi-pyportal-direct.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
# Get a dictionary of GIF filenames at the passed base directory
1818
def get_files(base):
19-
files = os.listdir(base)
19+
allfiles = os.listdir(base)
2020
file_names = []
21-
for _, filetext in enumerate(files):
21+
for _, filetext in enumerate(allfiles):
2222
if not filetext.startswith("."):
2323
if filetext not in ('boot_out.txt', 'System Volume Information'):
2424
if filetext.endswith(".gif"):

0 commit comments

Comments
 (0)