s/yaml.load/yaml.safe_load/

This commit is contained in:
Fabio Manganiello 2018-06-18 11:07:20 +00:00
parent dde0b579b2
commit 5e21f844a0
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class Config(object):
config = {}
with open(cfgfile, 'r') as fp:
file_config = yaml.load(fp)
file_config = yaml.safe_load(fp)
for section in file_config:
if section == 'include':