diff options
Diffstat (limited to 'pywal/image.py')
| -rw-r--r-- | pywal/image.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pywal/image.py b/pywal/image.py index d535b67..a3ddd8a 100644 --- a/pywal/image.py +++ b/pywal/image.py @@ -22,8 +22,8 @@ def get_image_dir_recursive(img_dir): images = [] for path, subdirs, files in os.walk(img_dir): for name in files: - print(os.path.join(path, name)) - images.append(os.path.join(path, name)) + if name.lower().endswith(file_types): + images.append(os.path.join(path, name)) return images, current_wall |
