Fix alpha not being set correctly running same image twice

This commit is contained in:
Jagannath Natarajan 2018-06-16 16:51:09 -07:00
parent 53426cdbb8
commit c0dd57ecc2

View File

@ -119,7 +119,7 @@ def get(img, light=False, backend="wal", cache_dir=CACHE_DIR):
colors = theme.file(cache_file) colors = theme.file(cache_file)
logger.disabled = False logger.disabled = False
util.Color.alpha_num = colors["alpha"] colors["alpha"] = util.Color.alpha_num
logging.info("Found cached colorscheme.") logging.info("Found cached colorscheme.")
else: else: