fix flask_nameko bug 2
This commit is contained in:
parent
121cc2e30b
commit
3c56d3766b
|
@ -22,7 +22,7 @@ class PooledClusterRpcProxy(object):
|
|||
self.configure(config)
|
||||
|
||||
def configure(self, config):
|
||||
if not config.get('AMQP_URI'):
|
||||
if not config.get('uri'):
|
||||
raise BadConfigurationError(
|
||||
"Please provide a valid configuration.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue