Hi,
as I did not receive a patch proposal from you I'm going to
use the attached one if you won't provide something more
sophisticated in the near future.

Cheers,
Sven
--- curator.orig        2006-11-14 15:08:33.000000000 +0100
+++ curator     2006-11-14 17:37:25.000000000 +0100
@@ -429,13 +429,13 @@
 
         prg = normpath( prg )
 
-        # Issue a warning if we can't find the program where specified.
-        if opts.magick_path:
-            if not exists( prg ) and not exists( prg + '.exe' ):
-                print >> sys.stderr,\
-                      "Warning: can't stat ImageMagick program %s" % prg
-                print >> sys.stderr, \
-                      "Perhaps try specifying it using --magick-path."
+        # Issue a warning if we can't find the ImageMagick tools
+        if not exists( prg ) and not exists( prg + '.exe' ):
+            print >> sys.stderr,\
+                      "WARNING: can't stat ImageMagick program %s" % prg
+            print >> sys.stderr, \
+                      "Perhaps try specifying it using --magick-path or try to 
use python-imaging with --pil."
+            sys.exit(1)
 
         p = prg
 

Reply via email to