Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 009021f

Browse files
committed
Fix image thumbnail example
1 parent e7c5290 commit 009021f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/misc/image_thumbnail_sgskip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
description="Build thumbnails of all images in a directory.")
2121
parser.add_argument("imagedir", type=Path)
2222
args = parser.parse_args()
23-
if not args.imagedir.isdir():
23+
if not args.imagedir.is_dir():
2424
sys.exit(f"Could not find input directory {args.imagedir}")
2525

2626
outdir = Path("thumbs")

0 commit comments

Comments
 (0)