summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pywal/colors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pywal/colors.py b/pywal/colors.py
index b5ec418..34500c8 100644
--- a/pywal/colors.py
+++ b/pywal/colors.py
@@ -13,7 +13,7 @@ from . import util
def imagemagick(color_count, img):
"""Call Imagemagick to generate a scheme."""
- if OS == "Windows":
+ if shutil.which("magick"):
magick_command = ["magick", "convert"]
else:
magick_command = ["convert"]