Merge pull request #366 from mkramlich/master

curses text UI now says Offline in --offline mode (matching the main Qt UI)
This commit is contained in:
ThomasV 2013-11-05 11:27:45 -08:00
commit faa93e3010
1 changed files with 5 additions and 3 deletions

View File

@ -122,7 +122,9 @@ class ElectrumGui:
def print_balance(self):
if self.network and self.network.interface and self.network.interface.is_connected:
if not self.network:
msg = _("Offline")
elif self.network.interface and self.network.interface.is_connected:
if not self.wallet.up_to_date:
msg = _("Synchronizing...")
else: