diff --git a/lega/utils/amqp.py b/lega/utils/amqp.py index 81f7264ec..ef0700424 100644 --- a/lega/utils/amqp.py +++ b/lega/utils/amqp.py @@ -19,8 +19,6 @@ def get_connection(domain, blocking=True): heartbeat values are read from the CONF argument. So are the SSL options. """ - assert domain in CONF.sections(), "Section not found in config file" - LOG.info(f'Getting a connection to {domain}') params = CONF.get_value(domain, 'connection', raw=True) LOG.debug(f"Initializing a connection to: {params}")