commit 8fcd782ff44af8716054e646e89c637e7b4c5b86
parent 8e86ee1a79b526f19f225cb536174f71e66d2af9
Author: thomasv <thomasv@gitorious>
Date: Tue, 16 Apr 2013 15:17:32 +0200
offline restore
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -246,8 +246,8 @@ if __name__ == '__main__':
wallet.init_seed( str(seed) )
wallet.save_seed()
+ interface = Interface(config)
if not options.offline:
- interface = Interface(config)
if not interface.start(wait=True):
print_msg("Not connected, aborting.")
sys.exit(1)
@@ -264,6 +264,7 @@ if __name__ == '__main__':
else:
print_msg("Warning: Found no history for this wallet")
else:
+ interface.start(wait=False)
wallet.synchronize()
wallet.fill_addressbook()
wallet.save()