on_import (function)
Import data from a selected file. The file is assumed to be a bz2 compressed file.
Syntax
Parameters
selected_file
The path of the selected file.
delete
Whether to delete the file after import (false by default).
src
The file name of the imported data, openadapt.db
by default.
Remarks
This function is to be replaced with magic-wormhole.
Last updated