URI: 
       tinterface: print debug message with the correct id - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 3a9bb3cd438e4eb2f5c46f8ee98c0157f659a362
   DIR parent cf03f153d9fe24d376a749fb55486df34f26f48e
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Wed, 13 Aug 2014 21:58:01 +0200
       
       interface: print debug message with the correct id
       
       Diffstat:
         M lib/interface.py                    |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/lib/interface.py b/lib/interface.py
       t@@ -257,15 +257,16 @@ class TcpInterface(threading.Thread):
                params = request.get('params')
                with self.lock:
                    try:
       -                self.pipe.send({'id':self.message_id, 'method':method, 'params':params})
       +                r = {'id':self.message_id, 'method':method, 'params':params}
       +                self.pipe.send(r)
       +                if self.debug:
       +                    print_error("-->", r)
                    except socket.error, e:
                        print_error("socked error:", self.server, e)
                        self.is_connected = False
                        return
                    self.unanswered_requests[self.message_id] = method, params, _id, queue
                    self.message_id += 1
       -        if self.debug:
       -            print_error("-->", request)
        
            def parse_proxy_options(self, s):
                if type(s) == type({}): return s  # fixme: type should be fixed