commit 33eb749c6a2671915e91ad71bef735769ae1ea1e
parent 2da0c0b77e109ba48321519870e78e223f291403
Author: ThomasV <thomasv@gitorious>
Date: Sun, 21 Oct 2012 23:22:46 +0200
interface for command line mode
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -293,6 +293,8 @@ if __name__ == '__main__':
# open session
if cmd not in offline_commands and not options.offline:
+ wallet.interface = Interface(config)
+ wallet.interface.start()
WalletSynchronizer(wallet, config).start()
wallet.update()
wallet.save()
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -749,7 +749,7 @@ class Wallet:
def update(self):
- self.interface.poke()
+ self.interface.poke('synchronizer')
self.up_to_date_event.wait(10000000000)