mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 16:34:12 +01:00
Run cleanup if extracted
Run cleanup if executed add to SentinelImportTask as well alternative method cleanup() already checks self.extracted
This commit is contained in:
parent
9611a43872
commit
cd80ddbff9
1 changed files with 3 additions and 0 deletions
|
|
@ -504,6 +504,9 @@ class ImportTask(object):
|
|||
move=session.config['move'])
|
||||
self._emit_imported(session.lib)
|
||||
|
||||
if isinstance(self, ArchiveImportTask):
|
||||
self.cleanup()
|
||||
|
||||
def cleanup(self, copy=False, delete=False, move=False):
|
||||
"""Remove and prune imported paths.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue