mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-23 22:38:36 +01:00
General: Fix test.
This commit is contained in:
parent
b5c27de8b5
commit
d82de89d36
@ -25,7 +25,7 @@ def random_img(img_dir):
|
||||
images = [img for img in os.scandir(img_dir)
|
||||
if img.name.endswith(file_types) and img.name != current_wall]
|
||||
|
||||
return pathlib.Path(img_dir / random.choice(images))
|
||||
return pathlib.Path(img_dir / random.choice(images).name)
|
||||
|
||||
|
||||
def get_image(img):
|
||||
|
Loading…
Reference in New Issue
Block a user