diff --git a/common/modules/automirror/main.py b/common/modules/automirror/main.py index 38a0917..ff28e59 100644 --- a/common/modules/automirror/main.py +++ b/common/modules/automirror/main.py @@ -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 "" diff --git a/debian/changelog b/debian/changelog index ff48b4d..103d8b3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ calamares-settings-ubuntu (16) UNRELEASED; urgency=medium * Enable automirror by default. + * Fix a typo in automirror. -- Simon Quigley Thu, 09 Aug 2018 22:39:57 -0500