fix: wait_for_network
authorThomasV <thomasv@gitorious>
Sat, 2 Nov 2013 17:10:18 +0000 (18:10 +0100)
committerThomasV <thomasv@gitorious>
Sat, 2 Nov 2013 17:10:18 +0000 (18:10 +0100)
lib/wallet.py

index e3f2be4..10a9c59 100644 (file)
@@ -1578,7 +1578,7 @@ class Wallet:
                 time.sleep(0.1)
 
         def wait_for_network():
-            while not self.network.interface.is_connected:
+            while not self.network.is_connected():
                 msg = "%s \n" % (_("Connecting..."))
                 apply(callback, (msg,))
                 time.sleep(0.1)