Fix a typo in automirror.

ubuntu/focal
Simon Quigley 6 years ago
parent 638e13824f
commit 04e8090eae

@ -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
debian/changelog vendored

@ -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

Loading…
Cancel
Save