URI: 
       tcreate a subdirectory for wallets, under default path - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit aaaeac353551d2cfde5c75872d255b67bf71ba53
   DIR parent 8b1c6fba685cea6c315164cc472f46ae81a2e70b
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Thu, 24 Oct 2013 10:03:48 +0200
       
       create a subdirectory for wallets, under default path
       
       Diffstat:
         M lib/wallet.py                       |      27 ++++++++++++++++++++-------
       
       1 file changed, 20 insertions(+), 7 deletions(-)
       ---
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -73,7 +73,7 @@ class WalletStorage:
                self.lock = threading.Lock()
                self.data = {}
                self.file_exists = False
       -        self.init_path(config)
       +        self.path = self.init_path(config)
                print_error( "wallet path", self.path )
                if self.path:
                    self.read(self.path)
       t@@ -82,14 +82,27 @@ class WalletStorage:
            def init_path(self, config):
                """Set the path of the wallet."""
        
       +        # command line -w option
                path = config.get('wallet_path')
       -        if not path:
       -            path = config.get('default_wallet_path')
       -        if path is not None:
       -            self.path = path
       -            return
       +        if path:
       +            return path
       +
       +        # path in config file
       +        path = config.get('default_wallet_path')
       +        if path:
       +            return path
       +
       +        # default path in pre 1.9 versions
       +        old_path = os.path.join(config.path, "electrum.dat")
       +        if os.path.exists(old_path):
       +            return old_path
       +
       +        # default path
       +        dirpath = os.path.join(config.path, "wallets")
       +        if not os.path.exists(dirpath):
       +            os.mkdir(dirpath)
        
       -        self.path = os.path.join(config.path, "electrum.dat")
       +        return os.path.join(config.path, "wallets", "default_wallet")
        
        
            def read(self, path):