mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-25 16:20:33 +03:00
save_ppm doesn't take kwargs
This commit is contained in:
parent
9f8aeb5d8e
commit
dd5bfec11c
|
@ -588,7 +588,7 @@ class Image(object):
|
||||||
|
|
||||||
self.load()
|
self.load()
|
||||||
if not format or format == "PPM":
|
if not format or format == "PPM":
|
||||||
self.im.save_ppm(file, **options)
|
self.im.save_ppm(file)
|
||||||
else:
|
else:
|
||||||
if not file.endswith(format):
|
if not file.endswith(format):
|
||||||
file = file + "." + format
|
file = file + "." + format
|
||||||
|
|
Loading…
Reference in New Issue
Block a user