mirror of
https://github.com/wassname/ray.git
synced 2026-07-09 23:11:21 +08:00
[hotfix] fix backward compat with older yaml libraries
This commit is contained in:
@@ -133,7 +133,7 @@ class Dashboard(object):
|
||||
try:
|
||||
with open(
|
||||
Path("~/ray_bootstrap_config.yaml").expanduser()) as f:
|
||||
cfg = yaml.load(f, Loader=yaml.FullLoader)
|
||||
cfg = yaml.safe_load(f)
|
||||
except Exception:
|
||||
return await json_response(error="No config")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user