yaml can set to None
@@ -75,7 +75,6 @@ class FaucetLocalConfGetSetter(FaucetConfGetSetter):
faucet_conf = yaml_in(config_file)
if isinstance(faucet_conf, dict):
self.faucet_conf = faucet_conf
- else:
if self.faucet_conf is None:
logging.error('Faucet config is empty, exiting.')
sys.exit(1)
