Browse Source

Remove assert which isn't true for the commands (only the GUI).

283
Amir Taaki 13 years ago
parent
commit
4c1bc14104
  1. 3
      lib/interface.py

3
lib/interface.py

@ -363,9 +363,6 @@ class WalletSynchronizer(threading.Thread):
if ports and version: if ports and version:
servers.append((host, ports)) servers.append((host, ports))
self.interface.servers = servers self.interface.servers = servers
# TODO: This assert fails with commands so it should be removed
# after we've ascertained it never fails when running the GUI.
assert self.servers_loaded_callback is not None
# servers_loaded_callback is None for commands, but should # servers_loaded_callback is None for commands, but should
# NEVER be None when using the GUI. # NEVER be None when using the GUI.
if self.servers_loaded_callback is not None: if self.servers_loaded_callback is not None:

Loading…
Cancel
Save