summaryrefslogtreecommitdiff
path: root/pywal/backends
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-04-02 07:15:29 +1000
committerDylan Araps <dylan.araps@gmail.com>2018-04-02 07:15:29 +1000
commitb649563ebad5d7f915f038041d861d942d61a233 (patch)
treed0444ce2d9f89fd0c7ba353cbe375ed0bf5b0942 /pywal/backends
parent086f4186481d7ec2d38cd13ba8983ba726fe6265 (diff)
general: Fixed invoking pywal from hotkey. Closes #219
Diffstat (limited to 'pywal/backends')
-rw-r--r--pywal/backends/colorthief.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pywal/backends/colorthief.py b/pywal/backends/colorthief.py
index 7b2e2bc..bcb9e39 100644
--- a/pywal/backends/colorthief.py
+++ b/pywal/backends/colorthief.py
@@ -25,7 +25,7 @@ def gen_colors(img):
if len(raw_colors) >= 8:
break
- elif i == 19:
+ elif i == 10:
logging.error("ColorThief couldn't generate a suitable palette.")
sys.exit(1)