diff --git a/pptop/core.py b/pptop/core.py index 1fba9ba..14db73e 100644 --- a/pptop/core.py +++ b/pptop/core.py @@ -1318,7 +1318,7 @@ def format_plugin_option(dct, o, v): if not os.path.isdir(_d.pptop_dir + '/lib'): os.mkdir(_d.pptop_dir + '/lib') with open(config_file) as fh: - config.update(yaml.load(fh.read())) + config.update(yaml.safe_load(fh.read())) console = config.get('console') if console is None: console = {}