URI: 
       tfix: subscriptions - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 5874457df2f4dda2ac460323397c3397dc9a923a
   DIR parent 7a73c2cb50aa7854f79b63c2db7cd539c7db1573
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Sun, 28 Oct 2012 10:22:12 +0100
       
       fix: subscriptions
       
       Diffstat:
         M lib/interface.py                    |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/interface.py b/lib/interface.py
       t@@ -422,7 +422,9 @@ class Interface(threading.Thread):
                    with self.lock:
                        if self.subscriptions.get(channel) is None: 
                            self.subscriptions[channel] = []
       -                self.subscriptions[channel] += sub
       +                for message in sub:
       +                    if message not in self.subscriptions[channel]:
       +                        self.subscriptions[channel].append(message)
        
                if self.protocol in 'st':
                    with self.lock: