mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-22 11:15:30 -04:00
Use click.Abort
This commit is contained in:
parent
34397bef34
commit
f337131767
1 changed files with 1 additions and 1 deletions
|
@ -793,7 +793,7 @@ class Tracklist(list):
|
|||
except (KeyboardInterrupt, SystemExit):
|
||||
executor.shutdown()
|
||||
tqdm.write("Aborted! May take some time to shutdown.")
|
||||
exit("Aborted!")
|
||||
raise click.Abort
|
||||
|
||||
else:
|
||||
for item in self:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue