1
0

interface for command line mode

This commit is contained in:
ThomasV
2012-10-21 23:22:46 +02:00
parent 2da0c0b77e
commit 33eb749c6a
2 changed files with 3 additions and 1 deletions

View File

@@ -293,6 +293,8 @@ if __name__ == '__main__':
# open session # open session
if cmd not in offline_commands and not options.offline: if cmd not in offline_commands and not options.offline:
wallet.interface = Interface(config)
wallet.interface.start()
WalletSynchronizer(wallet, config).start() WalletSynchronizer(wallet, config).start()
wallet.update() wallet.update()
wallet.save() wallet.save()

View File

@@ -749,7 +749,7 @@ class Wallet:
def update(self): def update(self):
self.interface.poke() self.interface.poke('synchronizer')
self.up_to_date_event.wait(10000000000) self.up_to_date_event.wait(10000000000)