Use click.Abort

This commit is contained in:
nathom 2021-05-07 01:41:03 -07:00
parent 34397bef34
commit f337131767

View file

@ -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: