diff --git a/chassis/flask_nameko/proxies.py b/chassis/flask_nameko/proxies.py index b8b88c5..1cf12cd 100644 --- a/chassis/flask_nameko/proxies.py +++ b/chassis/flask_nameko/proxies.py @@ -69,8 +69,7 @@ class FlaskPooledClusterRpcProxy(PooledClusterRpcProxy): def init_app(self, app): config = dict() for key, val in app.config.items(): - match = re.match(r"NAMEKO\_(?P.*)", key) - if match: + if key == 'NAMEKO_AMQP_URI': config['uri'] = val self.configure(config)