electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit dded634f65283a8c33aebd962cc62ba3b14595ee
parent 9b2f5805dad00695361a32fd1860d83a1368f1af
Author: ThomasV <thomasv@gitorious>
Date:   Wed, 16 May 2012 19:49:41 +0200

replace options.wallet_path with wallet.path

Diffstat:
Melectrum | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/electrum b/electrum @@ -161,7 +161,7 @@ if __name__ == '__main__': print "found no history for this wallet" wallet.fill_addressbook() wallet.save() - print "Wallet saved in '%s'"%options.wallet_path + print "Wallet saved in '%s'"%wallet.path else: wallet.new_seed(None) wallet.init_mpk( wallet.seed ) @@ -272,8 +272,8 @@ if __name__ == '__main__': elif wallet.use_encryption: print "Error: This wallet is encrypted" else: - ns = options.wallet_path+'.seed' - print "Warning: you are going to extract the seed from '%s'\nThe seed will be saved in '%s'"%(options.wallet_path,ns) + ns = wallet.path + '.seed' + print "Warning: you are going to extract the seed from '%s'\nThe seed will be saved in '%s'"%(wallet.path,ns) if raw_input("Are you sure you want to continue? (y/n) ") in ['y','Y','yes']: f = open(ns,'w') f.write(wallet.seed) @@ -288,7 +288,7 @@ if __name__ == '__main__': if wallet.seed: print "This wallet already has a seed", wallet.seed else: - ns = options.wallet_path+'.seed' + ns = wallet.path + '.seed' try: f = open(ns,'r') seed = f.read()