mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Updated return values to match docstring
This commit is contained in:
parent
1646326506
commit
70a17080e4
|
@ -54,8 +54,8 @@ def show(image, title=None, **options):
|
|||
"""
|
||||
for viewer in _viewers:
|
||||
if viewer.show(image, title=title, **options):
|
||||
return 1
|
||||
return 0
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
class Viewer:
|
||||
|
|
Loading…
Reference in New Issue
Block a user