From d5a1532f184f6b33b7622f3258f63cb0c7f82a15 Mon Sep 17 00:00:00 2001 From: Lorenz Leitner Date: Fri, 15 Mar 2019 10:36:26 +0100 Subject: [PATCH] Fix unused variable --- pywal/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywal/image.py b/pywal/image.py index d894189..6ef74fc 100644 --- a/pywal/image.py +++ b/pywal/image.py @@ -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):