diff --git a/janrain/capture/config.py b/janrain/capture/config.py index 733f16a..64ec2c6 100644 --- a/janrain/capture/config.py +++ b/janrain/capture/config.py @@ -141,7 +141,7 @@ def read_config_file(): """ file = get_config_file() with open(file) as stream: - yaml_dict = yaml.load(stream.read()) + yaml_dict = yaml.safe_load(stream) config = ConfigDict(file, yaml_dict) # merge clusters into clients if 'clusters' in config and 'clients' in config: