Browse Source

remove while loop in getservers

283
ThomasV 9 years ago
parent
commit
a4903fbf90
  1. 2
      lib/commands.py

2
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('')

Loading…
Cancel
Save