File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,8 @@ def quickstart():
103
103
click .secho ("Setup cancelled by user." , fg = "yellow" )
104
104
return False
105
105
if not proj_answers ["custom_network" ]:
106
- create_warnet_project (Path (proj_answers ["project_path" ]))
106
+ project_path = Path (os .path .expanduser (proj_answers ["project_path" ]))
107
+ create_warnet_project (project_path )
107
108
click .secho ("\n Setup completed successfully!" , fg = "green" , bold = True )
108
109
click .echo (
109
110
"\n Run the following command to deploy this network using the default demo network:"
@@ -183,9 +184,10 @@ def quickstart():
183
184
answers .update (net_answers )
184
185
185
186
click .secho ("\n Creating project structure..." , fg = "yellow" , bold = True )
186
- create_warnet_project (Path (answers ["project_path" ]))
187
+ project_path = Path (os .path .expanduser (proj_answers ["project_path" ]))
188
+ create_warnet_project (project_path )
187
189
click .secho ("\n Generating custom network..." , fg = "yellow" , bold = True )
188
- custom_network_path = Path ( answers [ " project_path" ]) / "networks" / answers ["network_name" ]
190
+ custom_network_path = project_path / "networks" / answers ["network_name" ]
189
191
custom_graph (
190
192
int (answers ["nodes" ]),
191
193
int (answers ["connections" ]),
You can’t perform that action at this time.
0 commit comments