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') @command('n')
def getservers(self): def getservers(self):
"""Return the list of available servers""" """Return the list of available servers"""
while not self.network.is_up_to_date():
time.sleep(0.1)
return self.network.get_servers() return self.network.get_servers()
@command('') @command('')

Loading…
Cancel
Save