Remove lookups from copied ESCU directory.

This commit is contained in:
pyth0n1c
2022-08-12 12:09:17 -07:00
parent ee0d1c788a
commit a17b44daf7
@@ -126,6 +126,11 @@ class Initialize:
def copy_dist_escu_to_dist_app(self):
print("Copying ESCU Template output dir to retain static app files...",end='')
shutil.copytree(self.escu_path, self.dist_app_path, dirs_exist_ok=True)
#delete all the contents in the lookups folder
lookups_path = os.path.join(self.dist_app_path, "lookups")
files = glob.glob(os.path.join(lookups_path, "*"))
for filename in files:
os.remove(filename)
print("done")
def simple_replace_line(self, filename:str, original:str,updated:str):