Skip to content

Commit

Permalink
Use click.Abort
Browse files Browse the repository at this point in the history
  • Loading branch information
nathom committed May 7, 2021
1 parent 34397be commit f337131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamrip/bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f337131

Please sign in to comment.