diff --git a/lib/network.py b/lib/network.py index 726c4969..2e77b4c4 100644 --- a/lib/network.py +++ b/lib/network.py @@ -254,6 +254,7 @@ class Network(threading.Thread): i = random.choice(self.interfaces.values()) if i.is_connected: self.switch_to_interface(i) + break else: self.interfaces.pop(i.server)