commit a27fba8685fa432b11e265a327643f2b12845ccb
parent cfce1420c5dbf62a40977f6db841398e13b52e68
Author: thomasv <thomasv@gitorious>
Date: Tue, 9 Oct 2012 16:29:53 +0200
use proxy with command line too
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum b/electrum
@@ -238,7 +238,7 @@ if __name__ == '__main__':
wallet.seed = str(seed)
wallet.init_mpk( wallet.seed )
if not options.offline:
- WalletSynchronizer(wallet).start()
+ WalletSynchronizer(wallet, proxy=proxy).start()
print "Recovering wallet..."
wallet.up_to_date_event.clear()
wallet.up_to_date = False
@@ -281,7 +281,7 @@ if __name__ == '__main__':
# open session
if cmd not in offline_commands and not options.offline:
- WalletSynchronizer(wallet).start()
+ WalletSynchronizer(wallet, proxy=proxy).start()
wallet.update()
wallet.save()