@ -90,7 +90,7 @@ def getmirror(country):
with request.urlopen(libcalamares.job.configuration["mirrorList"]) as url:
mirrors = json.loads(url.read().decode())
if country in mirrors.keys():
return mirrors["country"] + "."
return mirrors[country] + "."
else:
return ""
@ -1,6 +1,7 @@
calamares-settings-ubuntu (16) UNRELEASED; urgency=medium
* Enable automirror by default.
* Fix a typo in automirror.
-- Simon Quigley <tsimonq2@ubuntu.com> Thu, 09 Aug 2018 22:39:57 -0500