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.
os.path.join
1 parent 0ac710c commit c5d7272Copy full SHA for c5d7272
adafruit_slideshow.py
@@ -244,11 +244,11 @@ def _check_json_file(file):
244
# Load the image names before setting order so they can be reordered.
245
self._img_start = None
246
self._file_list = [
247
- os.path.join(folder, f)
+ folder + f
248
for f in os.listdir(folder)
249
if (
250
not f.startswith(".")
251
- and (f.endswith(".bmp") or _check_json_file(os.path.join(folder, f)))
+ and (f.endswith(".bmp") or _check_json_file(folder + f))
252
)
253
]
254
0 commit comments