1
0
Fork 0

made logic a bit easier to understand

This commit is contained in:
Kim, Jimin 2022-02-23 14:53:22 +09:00
parent 57901d34a4
commit a95d23f850

View file

@ -6,6 +6,8 @@ from shutil import copyfile
#
for file_path in glob("src/procedures/meta/*"):
if "/__init__.py" not in file_path and "/__pycache__" not in file_path:
file_name = file_path.split("/")[-1]
copyfile(file_path, f"dist/{file_name}")
if "/__init__.py" in file_path and "/__pycache__" in file_path:
continue
file_name = file_path.split("/")[-1]
copyfile(file_path, f"dist/{file_name}")