trename process_response - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 9a07c1cb446fc8aad4205b0e8a34a995bdefb4da DIR parent 603caf228ff4df93aab6d63d35bf512f8d601975 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 26 Jul 2014 15:47:30 +0200 rename process_response Diffstat: M lib/interface.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- DIR diff --git a/lib/interface.py b/lib/interface.py t@@ -94,7 +94,7 @@ class Interface(threading.Thread): - def queue_json_response(self, c): + def process_response(self, c): # uncomment to debug if self.debug: t@@ -242,10 +242,10 @@ class Interface(threading.Thread): if response: response = json.loads( response ) if type(response) is not type([]): - self.queue_json_response(response) + self.process_response(response) else: for item in response: - self.queue_json_response(item) + self.process_response(item) if response: self.poll_interval = 1 t@@ -428,7 +428,7 @@ class Interface(threading.Thread): c = out[0:s] out = out[s+1:] c = json.loads(c) - self.queue_json_response(c) + self.process_response(c) except Exception: traceback.print_exc(file=sys.stdout)