tfix import - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit d68133e0e1e22982c16f0415a2c4e91b841b03f1
DIR parent 1224610109f1d6bf101ddc79f03af81eb10bba48
HTML Author: thomasv <thomasv@gitorious>
Date: Fri, 11 May 2012 10:16:39 +0200
fix import
Diffstat:
M electrum | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/electrum b/electrum
t@@ -97,7 +97,7 @@ if __name__ == '__main__':
sys.exit(0)
if cmd in ['create', 'restore']:
- import mnemonic
+ from electrum import mnemonic
if wallet.file_exists:
print "remove the existing wallet first!"
sys.exit(0)
t@@ -241,7 +241,7 @@ if __name__ == '__main__':
print "Run python eval() on an object\nSyntax: eval <expression>\nExample: eval \"wallet.aliases\""
elif cmd == 'seed':
- import mnemonic
+ from electrum import mnemonic
seed = wallet.pw_decode( wallet.seed, password)
print seed, '"'+' '.join(mnemonic.mn_encode(seed))+'"'