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

This commit is contained in:
Amir Taaki 2012-08-29 20:54:28 +01:00
parent b3b910d926
commit 4c1bc14104
1 changed files with 0 additions and 3 deletions

View File

@ -363,9 +363,6 @@ class WalletSynchronizer(threading.Thread):
if ports and version:
servers.append((host, ports))
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
# NEVER be None when using the GUI.
if self.servers_loaded_callback is not None: