mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-04-01 10:26:15 +02: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")
|
file_types = (".png", ".jpg", ".jpeg", ".jpe", ".gif")
|
||||||
|
|
||||||
images = []
|
images = []
|
||||||
for path, subdirs, files in os.walk(img_dir):
|
for path, _, files in os.walk(img_dir):
|
||||||
for name in files:
|
for name in files:
|
||||||
if name.lower().endswith(file_types):
|
if name.lower().endswith(file_types):
|
||||||
if name.endswith(current_wall):
|
if name.endswith(current_wall):
|
||||||
|
Loading…
Reference in New Issue
Block a user