From 04e8090eaef4e79eb85afa0d5ef60124543036af Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Thu, 9 Aug 2018 22:41:47 -0500 Subject: [PATCH] Fix a typo in automirror. --- common/modules/automirror/main.py | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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