This commit is contained in:
2024-06-30 21:41:27 +02:00
parent 02f8a197ea
commit 2c93e6c858

View File

@@ -189,9 +189,9 @@ def main():
args = parser.parse_args() args = parser.parse_args()
# fmt: on # fmt: on
if args.extensions == []: if not args.extensions:
args.extensions = imgext args.extensions = imgext
if args.exclude == []: if not args.exclude:
args.exclude = notlist args.exclude = notlist
if not args.root.endswith("/"): if not args.root.endswith("/"):
args.root += "/" args.root += "/"