mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 16:22:22 +03:00
Combined duplicate lines
This commit is contained in:
parent
e0eb92ac0e
commit
e02f828358
|
@ -1494,7 +1494,6 @@ class Image(object):
|
|||
mode = getmodebase(self.mode) + "A"
|
||||
try:
|
||||
self.im.setmode(mode)
|
||||
self.pyaccess = None
|
||||
except (AttributeError, ValueError):
|
||||
# do things the hard way
|
||||
im = self.im.convert(mode)
|
||||
|
|
Loading…
Reference in New Issue
Block a user