mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 16:22:22 +03:00
Simplified dictionary pop
This commit is contained in:
parent
531f13828a
commit
4d59941608
|
@ -1915,9 +1915,7 @@ class Image(object):
|
||||||
# may mutate self!
|
# may mutate self!
|
||||||
self.load()
|
self.load()
|
||||||
|
|
||||||
save_all = False
|
save_all = params.pop('save_all', False)
|
||||||
if 'save_all' in params:
|
|
||||||
save_all = params.pop('save_all')
|
|
||||||
self.encoderinfo = params
|
self.encoderinfo = params
|
||||||
self.encoderconfig = ()
|
self.encoderconfig = ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user