From 0f20475d6694278b4b9abe1794c9dd9164946dc5 Mon Sep 17 00:00:00 2001 From: Nick Hurley Date: Thu, 31 Jan 2013 14:29:29 -0800 Subject: [PATCH] Get channel properly in RPC Caller. It's a function, moron. --- stoneridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stoneridge.py b/stoneridge.py index 4043905..b3e899d 100644 --- a/stoneridge.py +++ b/stoneridge.py @@ -564,7 +564,7 @@ class RpcCaller(object): params = pika.ConnectionParameters(host=self._host) self._connection = pika.BlockingConnection(params) - self._channel = self._connection.channel + self._channel = self._connection.channel() self._channel.basic_consume(self._on_rpc_done, no_ack=True, queue=self._incoming_queue)