mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-18 23:56:37 +02:00
colors: Fix empty key. Closes #164
This commit is contained in:
parent
2601caead6
commit
017bc01940
@ -90,7 +90,7 @@ def get(img, cache_dir=CACHE_DIR,
|
||||
cache_file = os.path.join(cache_dir, "schemes", cache_file + ".json")
|
||||
|
||||
if os.path.isfile(cache_file):
|
||||
colors = util.read_file_json(cache_file)
|
||||
colors = file(cache_file)
|
||||
util.Color.alpha_num = colors["alpha"]
|
||||
print("colors: Found cached colorscheme.")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user