Skip to content

Commit f357f54

Browse files
author
xinshen
committed
Correct error on yaml load deprecated call
1 parent ffc437c commit f357f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __init__(self):
2020

2121
if os.path.isfile('config.yml'):
2222
with open('config.yml', 'r') as config_file:
23-
user_config = yaml.load(config_file)
23+
user_config = yaml.load(config_file, Loader=yaml.FullLoader)
2424
else:
2525
user_config = dict()
2626

0 commit comments

Comments
 (0)