summaryrefslogtreecommitdiff
path: root/pywal/colors.py
diff options
context:
space:
mode:
authordeviantfero <fmorataya.04@gmail.com>2018-02-04 15:38:48 -0600
committerdeviantfero <fmorataya.04@gmail.com>2018-02-04 15:38:48 -0600
commit25b802747d5bc68bccf27adf70ce2e190838f706 (patch)
tree3ebb287f5e80d85ed78dfc7af9594b20cbd35441 /pywal/colors.py
parent9a7e1d9f7f1e8441aed7c66fc97147eaf35b0684 (diff)
hotfix: chache -> cache
Diffstat (limited to 'pywal/colors.py')
-rw-r--r--pywal/colors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pywal/colors.py b/pywal/colors.py
index 4d481c5..d33d4ec 100644
--- a/pywal/colors.py
+++ b/pywal/colors.py
@@ -7,7 +7,7 @@ import shutil
import subprocess
import sys
-from .settings import CACHE_DIR, COLOR_COUNT, __chache_version__
+from .settings import CACHE_DIR, COLOR_COUNT, __cache_version__
from . import util
@@ -106,7 +106,7 @@ def get(img, cache_dir=CACHE_DIR,
color_type = "light" if light else "dark"
cache_file = re.sub("[/|\\|.]", "_", img)
cache_file = os.path.join(cache_dir, "schemes", "%s_%s_%s.json"
- % (cache_file, color_type, __chache_version__))
+ % (cache_file, color_type, __cache_version__))
if os.path.isfile(cache_file):
colors = file(cache_file)