URI: 
       tadd try..except arount get_next_account - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 78573e202d92706eeb41e249a553d8448570ef09
   DIR parent bc3013caf0d3d6a35290e9cc9e51125b7d03d14c
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Fri, 27 Feb 2015 21:35:50 +0100
       
       add try..except arount get_next_account
       
       Diffstat:
         M lib/wallet.py                       |       8 +++++---
       
       1 file changed, 5 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -1453,9 +1453,11 @@ class BIP32_HD_Wallet(BIP32_Wallet):
                BIP32_Wallet.synchronize(self)
        
                if self.next_account is None and not self.use_encryption:
       -            self.next_account = self.get_next_account(None)
       -            self.storage.put('next_account2', self.next_account)
       -
       +            try:
       +                self.next_account = self.get_next_account(None)
       +                self.storage.put('next_account2', self.next_account)
       +            except:
       +                print_error('cannot get next account')
                # check pending account
                if self.next_account is not None:
                    next_id, next_xpub, next_pubkey, next_address = self.next_account