From 00a7f270864bddffa66a8856d5865810c3ee56e2 Mon Sep 17 00:00:00 2001 From: Christian Ebert Date: Wed, 19 May 2021 11:01:18 +0100 Subject: [PATCH] Clean up temporary directory at end of processing (#26) --- generator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator b/generator index 2b09d9b..ae378e5 100755 --- a/generator +++ b/generator @@ -184,7 +184,7 @@ def generate_sprite_from_frames(frames_path, columns, size, output): column = 0 final_image.save(output) - shutil.rmtree(frames_path, ignore_errors=True) + shutil.rmtree(TMP_FRAMES_PATH, ignore_errors=True) output_file = os.path.basename(output) print("[{output_file}] Saved".format(output_file=output_file))