fix comparison typo
parent
93cb2784ee
commit
3a93b9e639
|
@ -40,7 +40,7 @@ def read_conf(config, conf_format):
|
||||||
else:
|
else:
|
||||||
to_yaml = yaml.load(config.read())
|
to_yaml = yaml.load(config.read())
|
||||||
output = schema.load(to_yaml)
|
output = schema.load(to_yaml)
|
||||||
elif conf_type = 'toml':
|
elif conf_type == 'toml':
|
||||||
try:
|
try:
|
||||||
import toml
|
import toml
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
Loading…
Reference in New Issue