(no subject)

Chris <[email protected]> Sun, 30 Sep 2012 12:28:50 -0700
Newsgroups gmane.comp.python.image
Message-ID <CA+Znuqx3EAQSVA48Oye1AWfvTSw0CYC=D=xomAnZjx_AmZseJg@mail.gmail.com>
ImageView.py has a bug on Unix where if the user has both display and
xv installed, a call to image.show() results in the image being shown
first with display and then with xv. This is because the show function
in the file expects the show method to return 1 if successful, but it
doesn't return anything. This patch fixes that.

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
ImageShow.py.diff (application/octet-stream, 105 B)
66c66
<         self.show_image(image, **options)
---
>         return self.show_image(image, **options)