Fix (unreported) temp dir not being removed by bam pack -m FILE.

This commit is contained in:
2016-12-14 14:18:17 +01:00
parent b75b744032
commit 89fe6be951

View File

@@ -519,6 +519,8 @@ def pack(
yield report(" %s: %r -> %r\n" % (colorize("copying", color='blue'), src, dst))
shutil.copy(src, dst)
shutil.rmtree(base_dir_dst_temp)
yield report(" %s: %r\n" % (colorize("written", color='green'), blendfile_dst))
elif mode == 'ZIP':