From a4903fbf903ca06ca569608f049239509a6d2d4f Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 12 Mar 2016 09:43:55 +0100 Subject: [PATCH] remove while loop in getservers --- lib/commands.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/commands.py b/lib/commands.py index 9294e67d..9afc707f 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -323,8 +323,6 @@ class Commands: @command('n') def getservers(self): """Return the list of available servers""" - while not self.network.is_up_to_date(): - time.sleep(0.1) return self.network.get_servers() @command('')