commit 0d68926da2e3bceea964c21dd3eaf4adfb9331b2
parent 3a23e54a1a5ed4f97d5f3c0b7b0e0f65936be0d8
Author: ThomasV <thomasv@gitorious>
Date: Mon, 22 Oct 2012 18:50:17 +0200
fix: copy the default servers array
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/interface.py b/lib/interface.py
@@ -331,7 +331,7 @@ class Interface(threading.Thread):
self.init_with_server(self.config)
else:
print "Using random server..."
- servers = DEFAULT_SERVERS
+ servers = DEFAULT_SERVERS[:]
while servers:
server = random.choice( servers )
servers.remove(server)