mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-22 19:25:24 -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):
|
except (KeyboardInterrupt, SystemExit):
|
||||||
executor.shutdown()
|
executor.shutdown()
|
||||||
tqdm.write("Aborted! May take some time to shutdown.")
|
tqdm.write("Aborted! May take some time to shutdown.")
|
||||||
exit("Aborted!")
|
raise click.Abort
|
||||||
|
|
||||||
else:
|
else:
|
||||||
for item in self:
|
for item in self:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue