From 396700b7085d9a8a92ff1ff2320962d4326e2f41 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 21 Jun 2021 22:21:06 -0700 Subject: [PATCH] Use pipeable.ctrlc_return1. --- fdroidapk.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdroidapk.py b/fdroidapk.py index a08295a..3ec9b7c 100644 --- a/fdroidapk.py +++ b/fdroidapk.py @@ -35,6 +35,7 @@ from voussoirkit import betterhelp from voussoirkit import downloady from voussoirkit import operatornotify from voussoirkit import pathclass +from voussoirkit import pipeable from voussoirkit import vlogging log = vlogging.getLogger(__name__, 'fdroidapk') @@ -72,6 +73,7 @@ def _retry_request(f, tries=5): time.sleep(bo.next()) tries -= 1 +@pipeable.ctrlc_return1 def fpk_argparse(args): destination = pathclass.Path(args.destination) destination.assert_is_directory()