From 19ce94729c151cc936c619414b79d84ae358bccd Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 22 Jan 2021 20:58:55 -0800 Subject: [PATCH] Add @pipeable.ctrlc_return1. --- hash_hardlink.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hash_hardlink.py b/hash_hardlink.py index 51b5278..02cc8b2 100644 --- a/hash_hardlink.py +++ b/hash_hardlink.py @@ -22,6 +22,7 @@ def hash_file(file): hasher.update(chunk) return hasher.hexdigest() +@pipeable.ctrlc_return1 def hash_hardlink_argparse(args): paths = [pathclass.Path(p) for p in pipeable.input_many(args.paths, strip=True, skip_blank=True)]