tdefault path is .electrum - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 79217326bef111041542932a765f5306fba4dbfe DIR parent 7db29e327e3cdb6f6c5d9d3ac3cd7241e1039494 HTML Author: ThomasV <thomasv@gitorious> Date: Tue, 29 Nov 2011 17:08:16 +0100 default path is .electrum Diffstat: M client/electrum.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) --- DIR diff --git a/client/electrum.py b/client/electrum.py t@@ -258,14 +258,9 @@ 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 ): - 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 + if not os.path.exists( wallet_dir ): os.mkdir( wallet_dir ) + self.path = os.path.join( wallet_dir, 'electrum.dat') def new_seed(self, password): seed = "%032x"%ecdsa.util.randrange( pow(2,128) )