aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2018-05-24 09:20:06 +1000
committerDylan Araps <[email protected]>2018-05-24 09:20:06 +1000
commit859b61c019ca42126674ca6f5cdc8193934b937f (patch)
tree5cf6415741dfaa694dfa8e1a5c0f2c9bfcd01f51
parentgeneral: docs. (diff)
downloadpywal-859b61c019ca42126674ca6f5cdc8193934b937f.tar.xz
pywal-859b61c019ca42126674ca6f5cdc8193934b937f.zip
image: Show basename of file
-rw-r--r--pywal/image.py2
1 files changed, 1 insertions, 1 deletions
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