URI: 
       ttry home first - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 63cbda1bd318d74aeeae2bebe51400debed8beea
   DIR parent 7d37f367831c634ac67a5a093a31a17b554462bf
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Tue, 29 Nov 2011 14:50:06 +0100
       
       ttry home first
       
       Diffstat:
         M client/electrum.py                  |       7 +++++--
       
       1 file changed, 5 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/client/electrum.py b/client/electrum.py
       t@@ -258,10 +258,13 @@ class Wallet:
                        wallet_dir = os.path.join( os.environ["APPDATA"],  'Electrum' )
                    else:
                        raise BaseException("No home directory found in environment variables.")
       -
                    self.path = os.path.join( wallet_dir, 'electrum.dat')
       +
                    if not os.path.exists( self.path ):
       -                self.path = os.path.join( os.getcwd(), 'electrum.dat' )
       +                if "HOME" in os.environ:
       +                    self.path = os.path.join( os.environ["HOME"], 'electrum.dat')
       +                else:
       +                    self.path = os.path.join( os.getcwd(), 'electrum.dat' )
                    print self.path
        
            def new_seed(self, password):