Fix a typo in automirror.

This commit is contained in:
Simon Quigley 2018-08-09 22:41:47 -05:00
parent 638e13824f
commit 04e8090eae
2 changed files with 2 additions and 1 deletions

View File

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

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