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
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9

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: