mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-25 01:14:11 +01:00
correct name of cached theme json
the names used to be backwards with a 9 being added to 16 color themes and visceversa.
This commit is contained in:
parent
7aa7085d5f
commit
a60a91f9f0
@ -121,7 +121,7 @@ def saturate_colors(colors, amount):
|
|||||||
def cache_fname(img, backend, cols16, light, cache_dir, sat=""):
|
def cache_fname(img, backend, cols16, light, cache_dir, sat=""):
|
||||||
"""Create the cache file name."""
|
"""Create the cache file name."""
|
||||||
color_type = "light" if light else "dark"
|
color_type = "light" if light else "dark"
|
||||||
color_num = "9" if cols16 else "16"
|
color_num = "16" if cols16 else "9"
|
||||||
file_name = re.sub("[/|\\|.]", "_", img)
|
file_name = re.sub("[/|\\|.]", "_", img)
|
||||||
file_size = os.path.getsize(img)
|
file_size = os.path.getsize(img)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user