mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Corrected variable name
This commit is contained in:
parent
36caa53fed
commit
a12c18608e
|
@ -527,7 +527,7 @@ module.
|
||||||
|
|
||||||
paths = Path(".").glob("*.png")
|
paths = Path(".").glob("*.png")
|
||||||
for path in paths:
|
for path in paths:
|
||||||
compress_image(path, filepath.stem + ".jpg")
|
compress_image(path, path.stem + ".jpg")
|
||||||
|
|
||||||
|
|
||||||
Controlling the decoder
|
Controlling the decoder
|
||||||
|
|
Loading…
Reference in New Issue
Block a user