interface for command line mode
authorThomasV <thomasv@gitorious>
Sun, 21 Oct 2012 21:22:46 +0000 (23:22 +0200)
committerThomasV <thomasv@gitorious>
Sun, 21 Oct 2012 21:22:46 +0000 (23:22 +0200)
electrum
lib/wallet.py

index 4e842f4..f0e4dad 100755 (executable)
--- 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()
index 464735c..e23d993 100644 (file)
@@ -749,7 +749,7 @@ class Wallet:
 
 
     def update(self):
-        self.interface.poke()
+        self.interface.poke('synchronizer')
         self.up_to_date_event.wait(10000000000)