diff --git a/encrypt.py b/encrypt.py index 3973290..3fc70d6 100644 --- a/encrypt.py +++ b/encrypt.py @@ -12,6 +12,7 @@ from pathlib import Path from glob import glob import subprocess from time import time +from shutil import rmtree cwd = os.getcwd() path = Path(cwd) @@ -92,3 +93,6 @@ for i in file_list: repo.git.add(".") repo.index.commit(f"Commit as of {current_time}") repo.git.push("origin", "master", force=True) + +# Cleanup once you are done +rmtree(enc_path)