diff options
| -rw-r--r-- | pywal/image.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pywal/image.py b/pywal/image.py index bb495b1..367191e 100644 --- a/pywal/image.py +++ b/pywal/image.py @@ -38,6 +38,8 @@ def get(img, cache_dir=CACHE_DIR): print("error: No valid image file found.") sys.exit(1) + wal_img = os.path.abspath(wal_img) + # Cache the image file path. util.save_file(wal_img, os.path.join(cache_dir, "wal")) |
