diff options
| author | Dylan Araps <[email protected]> | 2017-06-19 16:15:13 +1000 |
|---|---|---|
| committer | Dylan Araps <[email protected]> | 2017-06-19 16:15:13 +1000 |
| commit | 5ed5306aa68f10e7371a224237af38c54060373b (patch) | |
| tree | da5d53f7f675449e4c759a3a89e9ad95cb1b861e | |
| parent | Optimization: Optimize for loop. (diff) | |
| download | pywal-5ed5306aa68f10e7371a224237af38c54060373b.tar.xz pywal-5ed5306aa68f10e7371a224237af38c54060373b.zip | |
General: Log chosen image
| -rw-r--r-- | outfile.png | bin | 0 -> 189 bytes | |||
| -rw-r--r-- | wal.py | 7 |
2 files changed, 5 insertions, 2 deletions
diff --git a/outfile.png b/outfile.png Binary files differnew file mode 100644 index 0000000..fc4a36f --- /dev/null +++ b/outfile.png @@ -127,7 +127,7 @@ def get_image(img): exit(1) if image.is_file(): - return image + wal_img = image elif image.is_dir(): rand = random.choice(os.listdir(image)) @@ -135,7 +135,10 @@ def get_image(img): rand_img = Path(rand_img) if rand_img.is_file(): - return rand_img + wal_img = rand_img + + print("image: Using image", wal_img) + return wal_img def magic(color_count, img): |