From 4c1bc141044edfb95b9f06503b43019d5b502d95 Mon Sep 17 00:00:00 2001 From: Amir Taaki Date: Wed, 29 Aug 2012 20:54:28 +0100 Subject: [PATCH] Remove assert which isn't true for the commands (only the GUI). --- lib/interface.py | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/lib/interface.py b/lib/interface.py index 1af2fa2..6a28cf8 100644 --- a/lib/interface.py +++ b/lib/interface.py @@ -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: -- 1.7.1