We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7c5290 commit 009021fCopy full SHA for 009021f
examples/misc/image_thumbnail_sgskip.py
@@ -20,7 +20,7 @@
20
description="Build thumbnails of all images in a directory.")
21
parser.add_argument("imagedir", type=Path)
22
args = parser.parse_args()
23
-if not args.imagedir.isdir():
+if not args.imagedir.is_dir():
24
sys.exit(f"Could not find input directory {args.imagedir}")
25
26
outdir = Path("thumbs")
0 commit comments