From 9e68e8e8a21b1ca59d2cd0cbdc096e398c25c92b Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Thu, 29 Aug 2019 10:43:24 -0700 Subject: [PATCH] fix yaml warning --- pinhook/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinhook/cli.py b/pinhook/cli.py index 120bfc3..1c0a894 100644 --- a/pinhook/cli.py +++ b/pinhook/cli.py @@ -38,7 +38,7 @@ def read_conf(config, conf_format): except ImportError: click.echo('yaml not installed, please use `pip3 install pinhook[yaml]` to install', err=True) else: - to_yaml = yaml.load(config.read()) + to_yaml = yaml.load(config.read(), Loader=yaml.FullLoader) output = schema.load(to_yaml) elif conf_format == 'toml': try: