Update run.py
This commit is contained in:
parent
d12f88bb3b
commit
c2ca1ab054
1 changed files with 3 additions and 3 deletions
|
|
@ -152,9 +152,9 @@ if __name__ == "__main__":
|
|||
|
||||
args = parser.parse_args()
|
||||
|
||||
kwargs = dict(host = host, port = port, silent = silent)
|
||||
if frontend is not None:
|
||||
kwargs["frontend_path"] = frontend
|
||||
kwargs = dict(host = args.host, port = args.port, silent = args.silent)
|
||||
if args.frontend is not None:
|
||||
kwargs["frontend_path"] = Path(args.frontend)
|
||||
run_server(**kwargs)
|
||||
|
||||
# Keep running
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue