Skip to content

Commit

Permalink
[fix] name typo output_path
Browse files Browse the repository at this point in the history
  • Loading branch information
NatLee committed Oct 11, 2023
1 parent 620e358 commit 17cf049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/heic2png/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def cli(args):
"""
print(f'Processing the HEIC image at `{args.input_path}`')

if args.output:
if args.output_path:
print(f'Specified output path: `{args.output_path}`')

if not 1 <= args.quality <= 100:
Expand All @@ -21,7 +21,7 @@ def cli(args):
heic_img = HEIC2PNG(args.input_path, args.quality)
print('Converting the image...')

if args.output and args.overwrite:
if args.output_path and args.overwrite:
print(f'Overwriting the existing file at `{args.output_path}`')

output_path = heic_img.save(args.output_path)
Expand Down

0 comments on commit 17cf049

Please sign in to comment.