mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-29 03:13:47 +01:00
image: Show basename of file
This commit is contained in:
parent
da4478f37d
commit
859b61c019
@ -80,5 +80,5 @@ def get(img, cache_dir=CACHE_DIR, iterative=False):
|
|||||||
# Cache the image file path.
|
# Cache the image file path.
|
||||||
util.save_file(wal_img, os.path.join(cache_dir, "wal"))
|
util.save_file(wal_img, os.path.join(cache_dir, "wal"))
|
||||||
|
|
||||||
logging.info("Using image \033[1;37m%s\033[0m.", wal_img)
|
logging.info("Using image \033[1;37m%s\033[0m.", os.path.basename(wal_img))
|
||||||
return wal_img
|
return wal_img
|
||||||
|
Loading…
Reference in New Issue
Block a user