Merge "Fix yaml.load(input) deprecation"

This commit is contained in:
Zuul 2019-04-02 21:11:21 +00:00 committed by Gerrit Code Review
commit 820bbed9cc

View File

@ -105,7 +105,7 @@ else:
config_file)
config_file = "conf/conf.yaml"
with open(config_file) as f:
CONFIG = yaml.load(f)
CONFIG = yaml.load(f, Loader=yaml.FullLoader)
SECRET_KEY = CONFIG['SECRET_KEY']