Skip to content

Commit

Permalink
Merge pull request #1416 from cclauss/patch-1
Browse files Browse the repository at this point in the history
xrange() is history in imagepipe.py
  • Loading branch information
davidism committed Feb 22, 2020
2 parents 0e630d0 + 163e55a commit f800a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/imagepipe/imagepipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def smoothen_cmd(images, iterations):
for image in images:
click.echo('Smoothening "%s" %d time%s' %
(image.filename, iterations, iterations != 1 and 's' or '',))
for x in xrange(iterations):
for x in range(iterations):
image = copy_filename(image.filter(ImageFilter.BLUR), image)
yield image

Expand Down

0 comments on commit f800a6f

Please sign in to comment.