biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pywal / convert.patch
blob999bc1abeaf1a6f414d592741e66c62716ef0501
1 diff --git a/pywal/backends/wal.py b/pywal/backends/wal.py
2 index a75fdc5..4339680 100644
3 --- a/pywal/backends/wal.py
4 +++ b/pywal/backends/wal.py
5 @@ -21,15 +21,7 @@ def imagemagick(color_count, img, magick_command):
7 def has_im():
8 """Check to see if the user has im installed."""
9 - if shutil.which("magick"):
10 - return ["magick", "convert"]
12 - if shutil.which("convert"):
13 - return ["convert"]
15 - logging.error("Imagemagick wasn't found on your system.")
16 - logging.error("Try another backend. (wal --backend)")
17 - sys.exit(1)
18 + return ["@convert@"]
21 def gen_colors(img):