mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-29 03:13:47 +01:00
Fix unused variable
This commit is contained in:
parent
bbc5a33394
commit
d5a1532f18
@ -20,7 +20,7 @@ def get_image_dir_recursive(img_dir):
|
||||
file_types = (".png", ".jpg", ".jpeg", ".jpe", ".gif")
|
||||
|
||||
images = []
|
||||
for path, subdirs, files in os.walk(img_dir):
|
||||
for path, _, files in os.walk(img_dir):
|
||||
for name in files:
|
||||
if name.lower().endswith(file_types):
|
||||
if name.endswith(current_wall):
|
||||
|
Loading…
Reference in New Issue
Block a user