made logic a bit easier to understand
This commit is contained in:
parent
57901d34a4
commit
a95d23f850
1 changed files with 5 additions and 3 deletions
|
@ -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}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue