Skip to content

Commit d114064

Browse files
committed
Corrected a function name typo in inverter.py
1 parent 8dba3fa commit d114064

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
@@ -10,7 +10,7 @@ def main():
1010

1111
for file in sys.argv:
1212
# TODO: add a check that the files are jpg
13-
file_name = os.path.splittext(file)
13+
file_name = os.path.splitext(file)
1414
with Image.open(file) as image:
1515
inverted_image = ImageOps.invert(image)
1616
inverted_image.save(filename + "_inverted", "JPEG")

0 commit comments

Comments
 (0)