Cleanup functionality - PatrickDuncan/cleansio GitHub Wiki

What this does

Cleans up temporary files - both slice files and the main temporary file - upon program exit.

Where it is

The cleanup() function in cleansio/cleansio.py.

How it works

The cleanup() function first removes the converted WAV file, which is stored in an environment variable. It then goes through our list of slice files and removes each one.