Fix unused variable

This commit is contained in:
Lorenz Leitner 2019-03-15 10:36:26 +01:00
parent bbc5a33394
commit d5a1532f18

View File

@ -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):