Skip to content

Commit daab44a

Browse files
committed
Removed unnecessary parameter in .save() function
1 parent 62b1949 commit daab44a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IMAGES & PHOTO SCRIPTS/Image-Inverter/inverter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def main():
2020
image_path, extension = os.path.splitext(file)
2121

2222
with Image.open(file) as image:
23-
ImageOps.invert(image).save(image_path + "_inverted" + extension, "JPEG")
23+
ImageOps.invert(image).save(image_path + "_inverted" + extension)
2424

2525
i = i + 1
2626

0 commit comments

Comments
 (0)