diff --git a/pinhook/cli.py b/pinhook/cli.py index 44c8a89..643a19e 100644 --- a/pinhook/cli.py +++ b/pinhook/cli.py @@ -40,7 +40,7 @@ def read_conf(config, conf_format): else: to_yaml = yaml.load(config.read()) output = schema.load(to_yaml) - elif conf_type = 'toml': + elif conf_type == 'toml': try: import toml except ImportError: