[hotfix] fix backward compat with older yaml libraries

This commit is contained in:
Eric Liang
2019-07-06 20:41:28 -07:00
committed by GitHub
parent c15ed3ac55
commit 445bcb29b0
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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")