From 859b61c019ca42126674ca6f5cdc8193934b937f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 24 May 2018 09:20:06 +1000 Subject: image: Show basename of file --- pywal/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pywal/image.py') diff --git a/pywal/image.py b/pywal/image.py index d23e82b..897f443 100644 --- a/pywal/image.py +++ b/pywal/image.py @@ -80,5 +80,5 @@ def get(img, cache_dir=CACHE_DIR, iterative=False): # Cache the image file path. 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 -- cgit v1.2.3