mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-04 20:03:20 +03:00
Merge pull request #399 from tmccombs/double
Closes #397. Fixed Viewer.show to return properly.
This commit is contained in:
commit
e269fc6755
|
@ -65,7 +65,7 @@ class Viewer:
|
||||||
if base != image.mode and image.mode != "1":
|
if base != image.mode and image.mode != "1":
|
||||||
image = image.convert(base)
|
image = image.convert(base)
|
||||||
|
|
||||||
self.show_image(image, **options)
|
return self.show_image(image, **options)
|
||||||
|
|
||||||
# hook methods
|
# hook methods
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user