From e696dfaf77758b1cf1b65b62c169e9f26173a826 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 25 May 2021 01:35:55 -0700 Subject: [PATCH] Use pipeable.input_many. --- touch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/touch.py b/touch.py index 05ffdc0..f33776d 100644 --- a/touch.py +++ b/touch.py @@ -9,7 +9,7 @@ from voussoirkit import pipeable from voussoirkit import winglob def touch_argparse(args): - patterns = [pattern for arg in args.patterns for pattern in pipeable.input(arg)] + patterns = pipeable.input_many(args.patterns, skip_blank=True) for pattern in patterns: filenames = winglob.glob(pattern)