1
0

network: fix get_servers to not modify default list

This commit is contained in:
SomberNight
2019-02-02 20:10:12 +01:00
parent add3b36f32
commit 52d602b6c1

View File

@@ -438,7 +438,7 @@ class Network(PrintError):
@with_recent_servers_lock
def get_servers(self):
# start with hardcoded servers
out = constants.net.DEFAULT_SERVERS
out = dict(constants.net.DEFAULT_SERVERS) # copy
# add recent servers
for s in self.recent_servers:
try: