image: Show basename of file

This commit is contained in:
Dylan Araps 2018-05-24 09:20:06 +10:00
parent da4478f37d
commit 859b61c019

View File

@ -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