Update run.py

This commit is contained in:
Roland Tannous 2026-03-12 19:28:48 +04:00 committed by GitHub
commit c2ca1ab054
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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