[BUG] [PIL 1.1.17] Image.show() on unix displays image twice if xv and display are installed

solsTiCe d'Hiver <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
hello,
I was using the .show() function on an Image object, and I had the
surprise to see 2 windows poping-up on my screen. One is xv and the
other one is display.

There is a little bug in ImageShow.py because the Viewer.show() is a
procedure and does not return anything. 
Well, in fact, it returns None which is interpreted as False. Hence the
bug.

cheers

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.