mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 00:30: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()
|
||||
if not format or format == "PPM":
|
||||
self.im.save_ppm(file, **options)
|
||||
self.im.save_ppm(file)
|
||||
else:
|
||||
if not file.endswith(format):
|
||||
file = file + "." + format
|
||||
|
|
Loading…
Reference in New Issue
Block a user