tRemove assert which isn't true for the commands (only the GUI). - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4c1bc141044edfb95b9f06503b43019d5b502d95 DIR parent b3b910d926c3ab081aa0c5ad2a090909311c631f HTML Author: Amir Taaki <genjix@riseup.net> Date: Wed, 29 Aug 2012 20:54:28 +0100 Remove assert which isn't true for the commands (only the GUI). Diffstat: M lib/interface.py | 3 --- 1 file changed, 0 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/interface.py b/lib/interface.py t@@ -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: