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 35dd446 commit 542d546Copy full SHA for 542d546
CircuitPython_gifio/PyPortal/code-multi-pyportal-direct.py
@@ -16,9 +16,9 @@
16
17
# Get a dictionary of GIF filenames at the passed base directory
18
def get_files(base):
19
- files = os.listdir(base)
+ allfiles = os.listdir(base)
20
file_names = []
21
- for _, filetext in enumerate(files):
+ for _, filetext in enumerate(allfiles):
22
if not filetext.startswith("."):
23
if filetext not in ('boot_out.txt', 'System Volume Information'):
24
if filetext.endswith(".gif"):
0 commit comments