Fix grayscale_argparse returning on first item.
This commit is contained in:
parent
0c78d7f96c
commit
ab54a750d0
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ def grayscale(filename, *, inplace=False):
|
|||
def grayscale_argparse(args):
|
||||
filenames = winglob.glob(args.pattern)
|
||||
for filename in filenames:
|
||||
return grayscale(filename, inplace=args.inplace)
|
||||
grayscale(filename, inplace=args.inplace)
|
||||
|
||||
def main(argv):
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
|
|
Loading…
Reference in a new issue