Skip to content
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.

Cleanup functionality

Victor Carri edited this page Dec 31, 2018 · 2 revisions

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.