From 3a93b9e639994ea015f82ea2a063cb99a78f1ec5 Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Thu, 29 Aug 2019 09:55:46 -0700 Subject: [PATCH] fix comparison typo --- pinhook/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: