Skip to content

Commit 327ffe7

Browse files
authored
no need to copy node-defaults (#518)
1 parent 8b7782f commit 327ffe7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/warnet/network.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,12 @@ def should_copy(item: Path) -> bool:
6565

6666
def copy_network_defaults(directory: Path):
6767
"""Create the project structure for a warnet project's network"""
68-
copy_defaults(directory, WAR_NETWORK_DIR, WAR_NETWORK_FILES.joinpath(), [])
68+
copy_defaults(
69+
directory,
70+
WAR_NETWORK_DIR,
71+
WAR_NETWORK_FILES.joinpath(),
72+
["node-defaults.yaml", "__pycache__", "__init__.py"],
73+
)
6974

7075

7176
def copy_scenario_defaults(directory: Path):

0 commit comments

Comments
 (0)