From f3371317670c18b4bea21ef875ed845f1531ba15 Mon Sep 17 00:00:00 2001 From: nathom Date: Fri, 7 May 2021 01:41:03 -0700 Subject: [PATCH] Use click.Abort --- streamrip/bases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamrip/bases.py b/streamrip/bases.py index b19fb6c1..62ec530f 100644 --- a/streamrip/bases.py +++ b/streamrip/bases.py @@ -793,7 +793,7 @@ def download(self, **kwargs): except (KeyboardInterrupt, SystemExit): executor.shutdown() tqdm.write("Aborted! May take some time to shutdown.") - exit("Aborted!") + raise click.Abort else: for item in self: